We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent edec5ae commit 945b00aCopy full SHA for 945b00a
examples/14_groups.rs
@@ -36,7 +36,7 @@ fn main() {
36
// Create a group, make it required, and add the above arguments
37
.arg_group(ArgGroup::with_name("vers")
38
.required(true)
39
- .add_all(&["vers", "major", "minor", "patch"]))
+ .add_all(&["ver", "major", "minor", "patch"]))
40
// Arguments can also be added to a group individually, these two arguments
41
// are part of the "input" group which is not required
42
.arg(Arg::from_usage("[INPUT_FILE] 'some regular input'").group("input"))
0 commit comments