diff options
author | Mark Griffiths <mark@thebespokepixel.com> | 2014-08-27 00:30:08 +0100 |
---|---|---|
committer | Mark Griffiths <mark@thebespokepixel.com> | 2014-09-03 14:43:27 +0100 |
commit | c39fe3433bf73aa2562fb366cc82bc9c3cc6616a (patch) | |
tree | a3ce849f1c215d56164c60419192f17f3f207e99 /doc_src/functions.txt | |
parent | 668fa66d78d9848578119f512fbe012bedaa972a (diff) |
Various additions and fixes
Diffstat (limited to 'doc_src/functions.txt')
-rw-r--r-- | doc_src/functions.txt | 14 |
1 files changed, 8 insertions, 6 deletions
diff --git a/doc_src/functions.txt b/doc_src/functions.txt index 0750cd1b..1a5b1c07 100644 --- a/doc_src/functions.txt +++ b/doc_src/functions.txt @@ -22,8 +22,6 @@ The following options are available: - `-e` or `--erase` causes the specified functions to be erased. -- `-h` or `--help` displays a help message and exits. - - `-n` or `--names` lists the names of all defined functions. - `-q` or `--query` tests if the specified functions exist. @@ -42,9 +40,13 @@ The exit status of `functions` is the number of functions specified in the argum \subsection functions-example Examples +\fish +functions -n +# Displays a list of currently-defined functions -`functions -n` displays a list of currently-defined functions. - -`functions -c foo bar` copies the `foo` function to a new function called `bar`. +functions -c foo bar +# Copies the 'foo' function to a new function called 'bar' -`functions -e bar` erases the function `bar`. +functions -e bar +# Erases the function `bar` +\endfish |