aboutsummaryrefslogtreecommitdiffhomepage
path: root/doc_src/functions.txt
diff options
context:
space:
mode:
authorGravatar Mark Griffiths <mark@thebespokepixel.com>2014-08-27 00:30:08 +0100
committerGravatar Mark Griffiths <mark@thebespokepixel.com>2014-09-03 14:43:27 +0100
commitc39fe3433bf73aa2562fb366cc82bc9c3cc6616a (patch)
treea3ce849f1c215d56164c60419192f17f3f207e99 /doc_src/functions.txt
parent668fa66d78d9848578119f512fbe012bedaa972a (diff)
Various additions and fixes
Diffstat (limited to 'doc_src/functions.txt')
-rw-r--r--doc_src/functions.txt14
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