Skip to content

Conversation

@tjprescott
Copy link
Member

There is a check to ensure that a given command only has a single positional argument. The linter loads parameters twice, which triggers this check to fail (it will see the previous registration). This change modifies the check so that if the positional arg being registered is already registered, this is okay. Should fix issue with PR #6241.


This checklist is used to make sure that common guidelines for a pull request are followed.

  • [N/A] The PR has modified HISTORY.rst describing any customer-facing, functional changes. Note that this does not include changes only to help content. (see Modifying change log).

  • I adhere to the Command Guidelines.

@promptws
Copy link

View a preview at https://prompt.ws/r/Azure/azure-cli/6244
This is an experimental preview for @microsoft users.

@tjprescott tjprescott merged commit e4c563b into Azure:dev Apr 27, 2018
@tjprescott tjprescott deleted the PositionalArgCheckFix branch April 27, 2018 23:56
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants