clap/src/app
Richard Janis Goldschmidt (Beckert) f9f778e8a4 Fix finding required arguments in group arguments (#829)
This fixes #827. The problem was that the check `grp.args.contains(&grp.args[i])` was a) trivially fulfilled (of course `grp.args[i]` is contained in `grp.args`) and b) causing an out-of-bounds error, since the indices were taken from `.required.len()`.

With this change the argument in the group will be removed from the list of required arguments, as intended.
2017-01-29 18:14:04 -08:00
..
help.rs feat(Help Wrapping): long app names (with spaces), authors, and descriptions are now wrapped appropriately 2017-01-02 16:43:45 -05:00
macros.rs Fix finding required arguments in group arguments (#829) 2017-01-29 18:14:04 -08:00
meta.rs chore: rustfmt run 2016-11-20 14:47:04 -05:00
mod.rs doc: Fix typo 2017-01-08 23:45:03 +01:00
parser.rs setting(AllowMissingPositional): allows one to implement $ prog [optional] <required> 2017-01-04 00:02:26 -05:00
settings.rs Explain how AppSettings::ArgRequiredElseHelp and Arg::default_value interact 2017-01-18 17:14:06 +01:00