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
Clap by default doesn't allow arg values to start with a hyphen.
This becomes problematic for number values...
$ mask add 2 -3
error: Found argument '-3' which wasn't expected, or isn't valid in this context
USAGE:
mask add [FLAGS] <a><b>
For more information try --help
NOTE: Use this setting with caution as it silences certain circumstances which would otherwise be an error (such as accidentally forgetting to specify a value for leading option). It is preferred to set this on a per argument basis, via Arg::allow_hyphen_values
Maybe after #3 is done, we can enable this option only for number args?
The text was updated successfully, but these errors were encountered:
Clap by default doesn't allow arg values to start with a hyphen.
This becomes problematic for number values...
There's two settings:
And this is the caveat:
Maybe after #3 is done, we can enable this option only for number args?
The text was updated successfully, but these errors were encountered: