-
-
Notifications
You must be signed in to change notification settings - Fork 99
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
Disable placeholder #241
Comments
Seems reasonable but out of interest why would you put a struct tag with an empty string for the placeholder in the first place? |
Better example why I want to hide the placeholders: Before:
After:
The placeholder just destroys the readability of the help section (in my opinion at least), and this was only a small example. |
I could live with them if the options ended up like this though:
This seems to be the norm with long and short option variants, which go-arg doesn't follow. |
Ah very good point! |
If placeholder is set to an empty string, don't show it.
Example:
Expected result:
Actual result:
The text was updated successfully, but these errors were encountered: