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
I would expect the parser to error out saying it does not understand the unknown arguments bogus args.
Instead, it does not error out.
Context: I have an optional argument (e.g. -a value) and I had forgotten to type in the argument name (-a), I typed in just the value. Instead of having the command line parser fail on encountering value, it continued working, causing quite a bit of debugging time :)
The text was updated successfully, but these errors were encountered:
Given the following snippet where
ParserSettings.IgnoreUnknownArguments = false
:And given the invocation:
app.exe bogus args
I would expect the parser to error out saying it does not understand the unknown arguments
bogus args
.Instead, it does not error out.
Context: I have an optional argument (e.g.
-a value
) and I had forgotten to type in the argument name (-a
), I typed in just the value. Instead of having the command line parser fail on encounteringvalue
, it continued working, causing quite a bit of debugging time :)The text was updated successfully, but these errors were encountered: