aboutsummaryrefslogtreecommitdiffhomepage
path: root/doc_src/set.txt
diff options
context:
space:
mode:
authorGravatar axel <axel@liljencrantz.se>2006-09-01 01:44:00 +1000
committerGravatar axel <axel@liljencrantz.se>2006-09-01 01:44:00 +1000
commitb6e8171f013e9fe1ae48fd16d56fdda4d872b626 (patch)
tree5ce560765f7fabb7cc0c5bc6d4455970bc3332ba /doc_src/set.txt
parentb1439075c6c6691d7b595f949391e5f4d5947ad7 (diff)
Fix minor null pointer bug in the set builtin, fix bug causing the -n switch to be ignored, add missing completions for the -n switch to functions and set builtins, and touch up the documentation for said builtin a bit
darcs-hash:20060831154400-ac50b-dddbee79481e0e0a8da9fc025e8a15c466460a2f.gz
Diffstat (limited to 'doc_src/set.txt')
-rw-r--r--doc_src/set.txt2
1 files changed, 1 insertions, 1 deletions
diff --git a/doc_src/set.txt b/doc_src/set.txt
index 78d26183..8354dbef 100644
--- a/doc_src/set.txt
+++ b/doc_src/set.txt
@@ -15,7 +15,7 @@ The <code>set</code> builtin causes fish to assign the variable <code>VARIABLE_N
- <code>-l</code> or <code>--local</code> forces the specified environment variable to be given a scope that is local to the current block, even if a variable with the given name exists and is non-local
- <code>-g</code> or <code>--global</code> causes the specified environment variable to be given a global scope. Non-global variables disappear when the block they belong to ends
- <code>-U</code> or <code>--universal</code> causes the specified environment variable to be given a universal scope. If this option is supplied, the variable will be shared between all the current users fish instances on the current computer, and will be preserved across restarts of the shell.
-- <code>-n</code> or <code>--names</code> List only the names of all defined variables
+- <code>-n</code> or <code>--names</code> List only the names of all defined variables, not their value
- <code>-q</code> or <code>--query</code> test if the specified variable names are defined. Does not output anything, but the builtins exit status is the number of variables specified that were not defined.
- <code>-u</code> or <code>--unexport</code> causes the specified environment not to be exported to child processes
- <code>-x</code> or <code>--export</code> causes the specified environment variable to be exported to child processes