Minor improvement to docs for count builtin

darcs-hash:20070921144301-75c98-02d497e712c6932322a74d82fc7a772c92e19552.gz
This commit is contained in:
liljencrantz 2007-09-22 00:43:01 +10:00
parent 8c4770a26c
commit 954c99a5ad

View file

@ -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.