-
-
Notifications
You must be signed in to change notification settings - Fork 139
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
Counter incorrectly renders value in help #367
Comments
I'm having the same issue. struct partial:
rendered:
|
dropwhile
added a commit
to dropwhile/kong
that referenced
this issue
Nov 12, 2023
PR opened with possible fix. The struct partial:
now shows:
|
dropwhile
added a commit
to dropwhile/kong
that referenced
this issue
Nov 12, 2023
alecthomas
pushed a commit
that referenced
this issue
Nov 13, 2023
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
I have a verbose flag defined something like:
According to the tests, the help for this command should render as:
But it actually renders as:
After much digging, I tracked the issue down to here. This is where the flag is actually rendered in help, as opposed to Flag.String which actually appears to be wholly unused when building help.
Would it be possible to make the help omit the value and avoid users thinking they should specify the value for counters?
For the record, I'm using:
The text was updated successfully, but these errors were encountered: