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

Synopsis fix #147

Closed
wants to merge 4 commits into from
Closed

Synopsis fix #147

wants to merge 4 commits into from

Conversation

calestar
Copy link
Contributor

@calestar calestar commented Jun 7, 2013

Attempt to fix "Synopsis should not show [command option] if there are none" (issue #119)

Really simple change:
Before showing the "[command options]" string in the help, check if we got any switches/flags. If we don't have any we skip it.

Added unit tests and feature to test new change. Modified one other feature to reflect change.

@davetron5000
Copy link
Owner

Fixed in 2.6.0 https://github.com/davetron5000/gli/wiki/Changelog thanks for the fix!

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.

2 participants