These are chat archives for kbknapp/clap-rs

19th
Aug 2017
Jeroen Bollen
@Binero
Aug 19 2017 22:05 UTC
I have the interesting situation where p has .required("iboot")
Not allowed: cargo run -- repack -p2048 --iboot
Allowed: cargo run -- repack --iboot -p2048
The first one is not allowed because iboot takes a FILE
But it seems to not care iboot requires a file when it's put in front of the p
(the case when iboot has takes_value set to true, or not set at all)