clap/src
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
..
app Fix finding required arguments in group arguments (#829) 2017-01-29 18:14:04 -08:00
args Fix confusing, wrong wording in doc (#821) 2017-01-29 18:12:54 -08:00
completions style: standardizes debug calls and output 2016-12-29 23:34:46 -05:00
errors.rs chore: rustfmt run 2016-11-20 14:47:04 -05:00
fmt.rs style: standardizes debug calls and output 2016-12-29 23:34:46 -05:00
lib.rs docs: fix spelling of "guaranteed" 2017-01-07 20:18:59 -06:00
macros.rs docs: fix link from app_from_crate! to crate_authors! (#822) 2017-01-29 18:13:34 -08:00
osstringext.rs style: standardizes debug calls and output 2016-12-29 23:34:46 -05:00
strext.rs style: rustfmt run 2016-05-06 17:52:23 -04:00
suggestions.rs Fix linting errors from rustc 1.14.0 2016-10-04 12:26:51 -04:00
usage_parser.rs style: standardizes debug calls and output 2016-12-29 23:34:46 -05:00