diff options
author | axel <axel@liljencrantz.se> | 2005-12-08 02:29:24 +1000 |
---|---|---|
committer | axel <axel@liljencrantz.se> | 2005-12-08 02:29:24 +1000 |
commit | 0a713a7939edbe63b26d0bfb7d5366f0fdd8e26f (patch) | |
tree | 5ef02c55e7217ebb3e83c7e13d4f0d1688118a90 /doc_src/set.txt | |
parent | 4ba2709452430ae594a3ad9d095f4cd48d84d08c (diff) |
Correct set help page. The handling of setting a variable to no value has changed.
darcs-hash:20051207162924-ac50b-3e3c579b8b932b9a5a11546fb4a042d5e2aa85c5.gz
Diffstat (limited to 'doc_src/set.txt')
-rw-r--r-- | doc_src/set.txt | 8 |
1 files changed, 2 insertions, 6 deletions
diff --git a/doc_src/set.txt b/doc_src/set.txt index fdcfc350..c185c441 100644 --- a/doc_src/set.txt +++ b/doc_src/set.txt @@ -18,16 +18,12 @@ The <tt>set</tt> builtin causes fish to assign the variable <tt>VARIABLE_NAME</t If set is called with no arguments, the names and values of all environment variables are printed. -If set is called with only one argument, the scope of the variable -with the given name will be changed as specified, but it's value will -remain the same. If the variable did not previously exist, it's value -will be an empty string. - If the \c -e or \c --erase option is specified, the variable specified by the following arguments will be erased If a variable is set to more than one value, the variable will be an -array with the specified elements. +array with the specified elements. If a variable is set to zero +elements, it will become an array with zero elements. If the variable name is one or more array elements, such as <tt>PATH[1 3 7]</tt>, only those array elements specified will be changed. |