Skip to content

Required value no longer treated as option - #763

Open
carstencodes wants to merge 3 commits into
commandlineparser:developfrom
carstencodes:fixes/RequiredValueTreatedAsOption
Open

carstencodes wants to merge 3 commits into
commandlineparser:developfrom
carstencodes:fixes/RequiredValueTreatedAsOption

Conversation

@carstencodes

Copy link
Copy Markdown

Missing required values will be now longer treated as options.

Hence the error message will be clarified to the positional arguments.

This compares to option 3 from #755 .

Carsten Igel added 3 commits June 16, 2021 20:21
A required value, i.e. a positional argument, can be missing.
The error message should reflect this issue.
The tests have been adjusted. The command line positional arguments
will raise a different error.
This is semantically a breaking change.
@carstencodes
carstencodes changed the base branch from master to develop August 3, 2021 12:11
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

1 participant