diff options
author | liljencrantz <liljencrantz@gmail.com> | 2007-09-22 00:43:01 +1000 |
---|---|---|
committer | liljencrantz <liljencrantz@gmail.com> | 2007-09-22 00:43:01 +1000 |
commit | 954c99a5ad1616104af3fa2e4729849f3fe8f7e6 (patch) | |
tree | fbb8e005e2349d4b1e1403cc276c6247953568ed /doc_src | |
parent | 8c4770a26c85666ca02d35b305df87aef145822b (diff) |
Minor improvement to docs for count builtin
darcs-hash:20070921144301-75c98-02d497e712c6932322a74d82fc7a772c92e19552.gz
Diffstat (limited to 'doc_src')
-rw-r--r-- | doc_src/count.txt | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/doc_src/count.txt b/doc_src/count.txt index 8b6b14c6..7287e19b 100644 --- a/doc_src/count.txt +++ b/doc_src/count.txt @@ -13,9 +13,10 @@ potential usage for the count command. The count command does not accept any options, not even '-h'. This way the user does not have to worry about an array containing elements such as dashes. \c fish performs a special check when invoking the -count program, and if the user uses a help option, this help page is +count command, and if the user uses a help option, this help page is displayed, but if a help option is contained inside of a variable or -is the result of expansion, it will be passed on to the count program. +is the result of expansion, it will simply be counted like any other +argument. Count exits with a non-zero exit status if no arguments where passed to it, with zero otherwise. |