diff --git a/doc_src/count.txt b/doc_src/count.txt index 8b6b14c61..7287e19b6 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.