You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
./target/debug/coreutils ls --color=auto --color=always
error: the argument '--color[=<color>]' cannot be used multiple times
Usage: ./target/debug/coreutils ls [OPTION]... [FILE]...
GNU accepts it
The text was updated successfully, but these errors were encountered:
Can I propose a PR to this issue? My plan is to set parsing action of color argument to Append, which allows clap to parse multiple duplicating tags. After that, when extract the option, select only the last color tags. In addition, a test case for multiple use of --color will be added.
GNU accepts it
The text was updated successfully, but these errors were encountered: