fish-shell/tests/count.out
Kurtis Rader 80df9053b3 count -h should report 1
The count command should not treat any flag specially. Not even `-h` and
`--help`. It should simply return a count of the number of arguments it
received.

Fixes #4189
2017-07-05 17:24:34 -07:00

13 lines
101 B
Plaintext

# no args
0
# one args
1
# two args
2
# args that look like flags or are otherwise special
1
1
1
2
3