clap-test
USAGE:
clap-test -a <ARG> <SUBCOMMAND>
OPTIONS:
-a <ARG>
-h, --help Print help information
SUBCOMMANDS:
help Print this message or the help of the given subcommand(s)
test -t --test
Which separates the options-flags by comma while the subcommand flags are just separated by space. This behaviour is inconsistent. I personally would prefer to use comma for separation in both cases as it is easier to understand.
Expected Behaviour
The help output should look like this:
clap-test
USAGE:
clap-test -a <ARG> <SUBCOMMAND>
OPTIONS:
-a <ARG>
-h, --help Print help information
SUBCOMMANDS:
help Print this message or the help of the given subcommand(s)
test, -t, --test
Please complete the following tasks
Rust Version
1.63.0
Clap Version
3.2.22
Minimal reproducible code
Steps to reproduce the bug with the above code
cargo run
Actual Behaviour
The help output is
Which separates the options-flags by comma while the subcommand flags are just separated by space. This behaviour is inconsistent. I personally would prefer to use comma for separation in both cases as it is easier to understand.
Expected Behaviour
The help output should look like this:
Additional Context
This issue relates to crystal-linux/amethyst#64
Debug Output
No response
The text was updated successfully, but these errors were encountered: