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 for extra help message #233

Merged
merged 3 commits into from
Nov 13, 2015
Merged

Fix for extra help message #233

merged 3 commits into from
Nov 13, 2015

Conversation

henryiii
Copy link
Collaborator

This small patch allows customization or removal of the extra help message on subcommands, addresses #232. You can remove a subcommand extra help message by setting the class variable SUBCOMMAND_HELPMSG to False/None, or you can customize it with a string ({parent} and {sub} refer to the parent and subcommand name, respectively, in the string).

Also fixed color output on subcommands, the help message color matches the subcommand color now, if the subcommand color was set. See the geet.py example for an example of both changes.

PS: Unrelated to this patch: Travis fails occasionally, simple rerunning of the failed matrix element without changes fixes the problem.

@henryiii
Copy link
Collaborator Author

Since this fixes #232 and includes a fix to colors, too, I'll go ahead and merge.

henryiii added a commit that referenced this pull request Nov 13, 2015
@henryiii henryiii merged commit 25e2d44 into master Nov 13, 2015
@henryiii henryiii deleted the clifix branch November 13, 2015 14:02
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.

2 participants