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

Fixed empty default options being printed #8

Merged
merged 1 commit into from
Mar 24, 2024

Conversation

mtygesen
Copy link
Contributor

Before "default:" would always be printed in the help menu.

E.g. the input option from the readme example would become:
-i, --input the input file, default:
instead of:
-i, --input the input file

Before "default:" would always be printed in the help menu.

E.g. the input option from the readme example would become:
-i, --input    the input file, default: 
instead of:
-i, --input    the input file
@stephenberry
Copy link
Owner

I like this, thank you! I'll merge and release a new version.

@stephenberry stephenberry merged commit 65a1ac1 into stephenberry:main Mar 24, 2024
3 checks passed
@mtygesen mtygesen deleted the fix-empty-default branch March 25, 2024 15:51
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