From 8c89e6bce5f38b51cfe227fd8cecb66fa43fc849 Mon Sep 17 00:00:00 2001 From: Kevin Ballard Date: Sat, 12 Jul 2014 00:21:04 -0700 Subject: Fix typo and tweak `set` docs Move the docs for the `-n` flag to `set` out of the list of scopes. --- doc_src/set.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'doc_src/set.txt') diff --git a/doc_src/set.txt b/doc_src/set.txt index a78d3046..f72d9018 100644 --- a/doc_src/set.txt +++ b/doc_src/set.txt @@ -27,13 +27,13 @@ The following options control variable scope: - -l or --local forces the specified shell 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 - -g or --global causes the specified shell variable to be given a global scope. Non-global variables disappear when the block they belong to ends - -U or --universal causes the specified shell 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. -- -n or --names List only the names of all defined variables, not their value - -x or --export causes the specified shell variable to be exported to child processes (making it an "environment variable") - -u or --unexport causes the specified shell variable to NOT be exported to child processes The following options are available: - -e or --erase causes the specified shell variable to be erased - -q or --query 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. +- -n or --names List only the names of all defined variables, not their value - -L or --long do not abbreviate long values when printing set variables If a variable is set to more than one value, the variable will be an -- cgit v1.2.3