As mentioned in: #86 (comment)
While experimenting with this I just noticed that the help generated by the CLI parser is off, but that can be addressed separately:
# cargo size --bin
error: The argument '--bin <NAME>' requires a value but none was supplied
USAGE:
cargo-size <binary-name> --bin <NAME>
For more information try --help
The <binary-name> shouldn't exist in the output. Its currently used so that parsing is valid but its set to hidden so shouldn't be displayed, could be a bug in clap? more investigation needed.
|
Arg::with_name("binary-name").hidden(true), |
As mentioned in: #86 (comment)
The
<binary-name>shouldn't exist in the output. Its currently used so that parsing is valid but its set to hidden so shouldn't be displayed, could be a bug in clap? more investigation needed.cargo-binutils/src/lib.rs
Line 172 in 2c39f5c