Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Registering positional argument fails when a previous argument being registered has no "options_list" #6187

Closed
williexu opened this issue Apr 23, 2018 · 0 comments · Fixed by #6189
Assignees
Labels
Core CLI core infrastructure

Comments

@williexu
Copy link
Contributor


-When a positional argument is registered, it checks the other registered arguments and checks if there are any with no options_list kwarg (which it interprets as a positional argument).

-This will throw an error when a regular argument is registered and no options_list is provided.

Environment summary

Install Method (e.g. pip, interactive script, apt-get, Docker, MSI, edge build) / CLI version (az --version) / OS version / Shell Type (e.g. bash, cmd.exe, Bash on Windows)

@williexu williexu added the Core CLI core infrastructure label Apr 23, 2018
williexu pushed a commit that referenced this issue Apr 24, 2018
@haroldrandom haroldrandom added the Core CLI core infrastructure label Oct 25, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Core CLI core infrastructure
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants