3 ms·
The output of "cargo run -- --help" does not make much sense to me. "-h" is an option? What about "-v"? Why is it not called an option? Or it is an option that
by johnisgood 5y ago
The output of "cargo run -- --help" does not make much sense to me. "-h" is an option? What about "-v"? Why is it not called an option? Or it is an option that belongs to "DEBUG"? What is "--config" exactly, a mandatory option? Based on "test-clap [OPTIONS] --config <CONFIG>", it seems to be the case, otherwise it would belong to "[OPTIONS]", right? I would rather just read the manual page of "test-clap", hoping that they are sticking to conventions and whatnot.
We need consistency. I try to stick to https://pubs.opengroup.org/onlinepubs/9699919799/basedefs/V1_chap12.html https://pubs.opengroup.org/onlinepubs/9699919799/basedefs/V1.... Sometimes I do have "commands" or "sub-commands".