Skip to content

Commit

Permalink
Auto merge of #296 - kbknapp:issue-295, r=kbknapp
Browse files Browse the repository at this point in the history
docs: fixes panic in 14_groups example

Closes #295
  • Loading branch information
homu committed Oct 1, 2015
2 parents edec5ae + 945b00a commit dcfe965
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion examples/14_groups.rs
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ fn main() {
// Create a group, make it required, and add the above arguments
.arg_group(ArgGroup::with_name("vers")
.required(true)
.add_all(&["vers", "major", "minor", "patch"]))
.add_all(&["ver", "major", "minor", "patch"]))
// Arguments can also be added to a group individually, these two arguments
// are part of the "input" group which is not required
.arg(Arg::from_usage("[INPUT_FILE] 'some regular input'").group("input"))
Expand Down

0 comments on commit dcfe965

Please sign in to comment.