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

Completion lacks inverse boolean flags #237

Closed
bitprophet opened this issue Apr 29, 2015 · 0 comments
Closed

Completion lacks inverse boolean flags #237

bitprophet opened this issue Apr 29, 2015 · 0 comments
Labels

Comments

@bitprophet
Copy link
Member

@bitprophet bitprophet commented Apr 29, 2015

Scenario: a task defined as def foo(mybool=True):, which thus generates the flags -m, --mybool and --no-mybool. All of them appear in --help, but completing inv foo - only shows -m and --mybool, not --no-mybool.

Diagnosis: this indicates a mismatch between the generation of flags for --complete output, and that for --help (and the parser overall).

bitprophet added a commit that referenced this issue Apr 29, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Linked pull requests

Successfully merging a pull request may close this issue.

None yet
1 participant
You can’t perform that action at this time.