You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Arg::from_usage("[myopt] -o --opt <mode> <file> 'some help text'")
This would parse as
Name: myopt
Short: o
Long: opt
Values: <mode> <file>
Multiple: false
Required: false
Number of Values: 2
Some items to be determined are how to parse when an explicit name does not precede the values (Required true, or false, use the first value for determining? Use Long as name? etc.)
The text was updated successfully, but these errors were encountered:
…sage string
Allows new usage strings with value names or number of values. If the
names are consecutive, they are counted to represent the number of
values (if they all have the same name), or if their names are different
they are used as value names.
Closes#98
To allow something like
This would parse as
Name:
myopt
Short:
o
Long:
opt
Values:
<mode> <file>
Multiple:
false
Required:
false
Number of Values:
2
Some items to be determined are how to parse when an explicit name does not precede the values (Required
true
, orfalse
, use the first value for determining? Use Long as name? etc.)The text was updated successfully, but these errors were encountered: