Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Comments

Close side panel

Required value no longer treated as option#763

Open
carstencodes wants to merge 3 commits intocommandlineparser:developcommandlineparser/commandline:developfrom
carstencodes:fixes/RequiredValueTreatedAsOptioncarstencodes/commandline:fixes/RequiredValueTreatedAsOptionCopy head branch name to clipboard
Open

Required value no longer treated as option#763
carstencodes wants to merge 3 commits intocommandlineparser:developcommandlineparser/commandline:developfrom
carstencodes:fixes/RequiredValueTreatedAsOptioncarstencodes/commandline:fixes/RequiredValueTreatedAsOptionCopy head branch name to clipboard

Conversation

@carstencodes
Copy link

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

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant

Morty Proxy This is a proxified and sanitized view of the page, visit original site.