mirror of
https://github.com/fish-shell/fish-shell.git
synced 2024-11-23 10:00:43 +08: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
13 lines
101 B
Plaintext
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
|