aboutsummaryrefslogtreecommitdiffhomepage
path: root/doc_src
diff options
context:
space:
mode:
authorGravatar Grissiom <chaos.proton@gmail.com>2010-09-19 14:12:30 +0800
committerGravatar Grissiom <chaos.proton@gmail.com>2010-09-19 14:12:30 +0800
commit1b9dd0c75f8cac34f2dd047cd0e221ed646d4b4b (patch)
treedc19ae35f8ba473ec6160fc18c8b7539b62b0504 /doc_src
parenta7af415b6a93e2699bec1082f56b3106d937a6cf (diff)
parentec8b3593f36908e19d15197b550a171938358b97 (diff)
Merge remote branch 'origin/otherchirps-dev'
Diffstat (limited to 'doc_src')
-rw-r--r--doc_src/functions.txt4
1 files changed, 4 insertions, 0 deletions
diff --git a/doc_src/functions.txt b/doc_src/functions.txt
index 4e5d7ddf..928cd545 100644
--- a/doc_src/functions.txt
+++ b/doc_src/functions.txt
@@ -8,6 +8,7 @@
This builtin command is used to print or erase functions.
- <code>-a</code> or <code>--all</code> list all functions, even those whose name start with an underscore.
+- <code>-c OLDNAME NEWNAME</code> or <code>--copy OLDNAME NEWNAME</code> creates a new function named NEWNAME, using the definition of the OLDNAME function.
- <code>-d DESCRIPTION</code> or <code>--description=DESCRIPTION</code> change the description of this function
- <code>-e</code> or <code>--erase</code> causes the specified functions to be erased.
- <code>-h</code> or <code>--help</code> display a help message and exit
@@ -23,5 +24,8 @@ Automatically loaded functions can not be removed using functions
-e. Either remove the definition file or change the
$fish_function_path variable to remove autoloaded functions.
+Function copies, created with -c, will not have any event/signal/on-exit
+notifications that the original may have had.
+
The exit status of the functions builtin is the number functions
specified in the argument list that do not exist.