aboutsummaryrefslogtreecommitdiffhomepage
path: root/doc_src/funced.txt
diff options
context:
space:
mode:
authorGravatar maxfl <gmaxfl@gmail.com>2012-06-30 10:35:31 +0800
committerGravatar ridiculousfish <corydoras@ridiculousfish.com>2012-07-01 14:20:43 -0700
commitfe2628437693733e60772aed25be323ec4b615ae (patch)
treeedecb2d611c521a356793767e70df063d1a821e5 /doc_src/funced.txt
parentab62fe6496eaf7a56cf30f682dc30c13002ec8aa (diff)
Doc is updated
btw. funced completion is updated
Diffstat (limited to 'doc_src/funced.txt')
-rw-r--r--doc_src/funced.txt7
1 files changed, 4 insertions, 3 deletions
diff --git a/doc_src/funced.txt b/doc_src/funced.txt
index 1d6daf66..46594de7 100644
--- a/doc_src/funced.txt
+++ b/doc_src/funced.txt
@@ -1,13 +1,14 @@
\section funced funced - edit a function interactively
\subsection funced-synopsis Synopsis
- <code>funced [-e editor] NAME</code>
+ <code>funced [OPTIONS] NAME</code>
\subsection funced-description Description
-Use the funced command to interactively edit the definition of a
-function. If there is no function with the name specified, a skeleton function is inserted, if a function exist, the definion will be shown in your editor or on the command line.
+Use the funced command to edit the definition of a
+function. If there is no function with the name specified, a skeleton function is inserted, if a function exist, the definition will be shown in your editor or on the command line.
By default, funced edits functions using the text editor in your $EDITOR variable, if set; otherwise it uses the built-in editor.
- <code>-e command</code> or <code>--editor command</code> Open the function body inside the text editor given by the command (for example, "vi"). The command 'fish' will use the built-in editor.
+- <code>-i</code> or <code>--interactive</code> Open function body in built-in editor.