Skip to content

fix: use raw max range instead of processed choices when validating argument count - #433

Open
SuperCoolPencil wants to merge 2 commits into
p-ranav:masterfrom
SuperCoolPencil:fix/issue-431
Open

fix: use raw max range instead of processed choices when validating argument count#433
SuperCoolPencil wants to merge 2 commits into
p-ranav:masterfrom
SuperCoolPencil:fix/issue-431

Conversation

@SuperCoolPencil

Copy link
Copy Markdown
  • test: add test case for optional argument with choices and nargs(1) failing on empty input
  • fix: use raw max range instead of processed choices when validating argument count

@SuperCoolPencil

Copy link
Copy Markdown
Author

Closes #431

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