aboutsummaryrefslogtreecommitdiffhomepage
path: root/doc_src/function.txt
diff options
context:
space:
mode:
authorGravatar axel <axel@liljencrantz.se>2006-07-20 23:33:19 +1000
committerGravatar axel <axel@liljencrantz.se>2006-07-20 23:33:19 +1000
commit4ba9ac28bb4ee6e370e273263579e3a3e2e0ba9f (patch)
treef99a46f9c8434b106d8f38e7e908dbedcf82d5e4 /doc_src/function.txt
parent4664d65af73795f8631653d0823aae99c5aa1588 (diff)
Minor documentation tweaks and additions
darcs-hash:20060720133319-ac50b-ea71dc172f0c60de0d6f1effa2092ebb8d8ca2d9.gz
Diffstat (limited to 'doc_src/function.txt')
-rw-r--r--doc_src/function.txt4
1 files changed, 2 insertions, 2 deletions
diff --git a/doc_src/function.txt b/doc_src/function.txt
index 62dd41e0..51225f55 100644
--- a/doc_src/function.txt
+++ b/doc_src/function.txt
@@ -12,7 +12,7 @@
- <code>-s</code> or <code>--on-signal SIGSPEC</code> tells fish to run this function when the signal SIGSPEC is delivered. SIGSPEC can be a signal number, or the signal name, such as SIGHUP (or just HUP)
- <code>-v</code> or <code>--on-variable VARIABLE_NAME</code> tells fish to run this function when the variable VARIABLE_NAME changes value
-This builtin command is used to create a new function. A Function is a
+This builtin command is used to create a new function. A function is a
list of commands that will be executed when the name of the function
is entered. The function
@@ -25,7 +25,7 @@ end
will write <code>hello</code> whenever the user enters \c hi.
If the user enters any additional arguments after the function, they
-are inserted into the environment variable <a href="index.html#variables-arrays">array</a> argv.
+are inserted into the environment <a href="index.html#variables-arrays">variable array</a> argv.
\subsection function-example Example