From 945b00a0c27714b63bdca48d003fe205fcfdc578 Mon Sep 17 00:00:00 2001 From: Kevin K Date: Thu, 1 Oct 2015 10:19:58 -0400 Subject: [PATCH] docs: fixes panic in 14_groups example Closes #295 --- examples/14_groups.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/examples/14_groups.rs b/examples/14_groups.rs index 5bd347b1ce7..5b936c3c90a 100644 --- a/examples/14_groups.rs +++ b/examples/14_groups.rs @@ -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"))