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

Fix boolean invert helptext (issue #65 ) #121

Merged

Conversation

aroberts
Copy link
Contributor

When looking at an invoke task's helptext with a flag that defaults to true (engaging the inverse_flags machinery), no indication of the --no-flag syntax is given. This is confusing, because true-defaulted and false-defaulted flags look the same in the helptext, but have different behavior (no automatic --no-flag for false-defaulted flags).

This patch describes the additional inverse flag in the helptext.

@bitprophet bitprophet merged commit afd708c into pyinvoke:master May 7, 2014
bitprophet added a commit that referenced this pull request May 7, 2014
@bitprophet
Copy link
Member

Thanks!

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.

None yet

2 participants