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

Autocompletion error in az account set --subscription #53

Closed
itowlson opened this issue Mar 28, 2017 · 3 comments
Closed

Autocompletion error in az account set --subscription #53

itowlson opened this issue Mar 28, 2017 · 3 comments

Comments

@itowlson
Copy link

Steps to reproduce:

  1. Type az account set --subscription
  2. Hit space bar to trigger autocompletion

Behaviour:

The autocomplete list of subscriptions appears, but so does a message saying __main__.py account set: error: argument --subscription: expected one argument. The cursor is pushed down to the next line and backspacing produces strange visual artefacts (the autocomplete list appears again slightly offset, with bits of the first one still visible, and the error message is also redisplayed). (Screenshot attached.)

az-shell-set-subscription

@itowlson
Copy link
Author

Environment is Windows 10, Python 3.5.3, azure-cli 2.0.1.

@oakeyc
Copy link
Owner

oakeyc commented Mar 28, 2017

Which version azure-cli-shell are you using?

@itowlson
Copy link
Author

0.1.1a21 - this is what I got when I ran the pip --user --upgrade command a couple of hours ago.

oakeyc pushed a commit that referenced this issue Mar 28, 2017
oakeyc pushed a commit that referenced this issue Mar 28, 2017
* issues #55 fix

* issues #56

* tests

* issues #53
@oakeyc oakeyc closed this as completed Mar 28, 2017
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

No branches or pull requests

2 participants