mirror of
https://github.com/fish-shell/fish-shell.git
synced 2025-02-22 02:59:40 +08:00

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
|