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 Issue 59 #60

Merged
merged 1 commit into from
Mar 2, 2020
Merged

Fix Issue 59 #60

merged 1 commit into from
Mar 2, 2020

Conversation

thegreyd
Copy link
Contributor

@thegreyd thegreyd commented Mar 1, 2020

Fix for Repeated Text in subcommand usage text. The bug was introduced in 112b813 where Usage method functionality was extracted into separate functions. Previously when a subcommand error was found, Usage was called recursively and the result string was returned. After being extracted to a unction that case was not being handled. I simply added a boolean flag to indicate that. Added a basic test to verify usage would not repeat.

@akamensky
Copy link
Owner

@thegreyd Thanks, LGTM!

@akamensky akamensky merged commit 936811b into akamensky:master Mar 2, 2020
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