mirror of
https://github.com/fish-shell/fish-shell
synced 2025-01-13 05:28:49 +00:00
Minor improvement to docs for count builtin
darcs-hash:20070921144301-75c98-02d497e712c6932322a74d82fc7a772c92e19552.gz
This commit is contained in:
parent
8c4770a26c
commit
954c99a5ad
1 changed files with 3 additions and 2 deletions
|
@ -13,9 +13,10 @@ potential usage for the count command.
|
||||||
The count command does not accept any options, not even '-h'. This way
|
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
|
the user does not have to worry about an array containing elements
|
||||||
such as dashes. \c fish performs a special check when invoking the
|
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
|
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
|
Count exits with a non-zero exit status if no arguments where passed
|
||||||
to it, with zero otherwise.
|
to it, with zero otherwise.
|
||||||
|
|
Loading…
Reference in a new issue