mirror of
https://github.com/clap-rs/clap
synced 2024-12-14 14:52:33 +00:00
0cc2f69839
Breaking Change Instead of requiring a Vec<&str> for various Arg::*_all() and Arg::possible_values() methods this commit now requires a generic IntoIterator<Item=AsRef<str>> which allows things such as constant arrays. This change requires that any Arg::*_all() methods be changed from vec!["val", "val"] -> let vals = ["val", "val"]; some_arg.possible_values(&vals) (or vals.iter()). Closes #87 |
||
---|---|---|
.. | ||
01a_QuickExample.rs | ||
01b_QuickExample.rs | ||
02_Apps.rs | ||
03_Args.rs | ||
04_UsingMatches.rs | ||
05_FlagArgs.rs | ||
06_PositionalArgs.rs | ||
07_OptionArgs.rs | ||
08_SubCommands.rs | ||
09_AutoVersion.rs | ||
10_DefaultValues.rs | ||
11_OnlySpecificValues.rs | ||
12_TypedValues.rs | ||
13a_EnumValuesAutomatic.rs | ||
13b_EnumValuesManual.rs | ||
14_Groups.rs |