mirror of
https://github.com/fish-shell/fish-shell
synced 2024-12-27 21:33:09 +00:00
80df9053b3
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
12 lines
101 B
Text
12 lines
101 B
Text
# no args
|
|
0
|
|
# one args
|
|
1
|
|
# two args
|
|
2
|
|
# args that look like flags or are otherwise special
|
|
1
|
|
1
|
|
1
|
|
2
|
|
3
|