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
CommandParser will do its things with existing options.
At some point options are filtered and sorted by position and as options from annotations already know their position positions(while programmatic registration may not) required options may get removed from parser internal list, thus may cause some errors not getting reported.
The text was updated successfully, but these errors were encountered:
- This commit modifies CommandParser to better track positional parameters
which previously used to go there for non-recognised options. Now using
relatively dump logic of just checking if first positional parameter starts
with '-' which indicates it's a candidate for a new `UnrecognisedOptionException`
which then would give user an error "Unrecognised option '--xxx'" for example.
- Backport #601
- Backport #602
- Fixes#603
- Fixes#604
CommandParser
will do its things with existing options.At some point options are filtered and sorted by position and as options from annotations already know their position positions(while programmatic registration may not) required options may get removed from parser internal list, thus may cause some errors not getting reported.
The text was updated successfully, but these errors were encountered: