mirror of
https://github.com/clap-rs/clap
synced 2024-12-19 00:53:17 +00:00
6987f37e71
Adds three new methods of `Arg` which allow for specifying three new types of rules. * `Arg::required_unless` Allows saying a particular arg is only required if a specific other arg *isn't* present. * `Arg::required_unless_all` Allows saying a particular arg is only required so long as *all* the following args aren't present * `Arg::required_unless_one` Allows saying a particular arg is required unless at least one of the following args is present. |
||
---|---|---|
.. | ||
help.rs | ||
macros.rs | ||
meta.rs | ||
mod.rs | ||
parser.rs | ||
settings.rs |