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: double help is printed when --help is provided #1806

Merged
merged 1 commit into from
Sep 14, 2024

Conversation

vmaerten
Copy link
Member

Initially reported in

I took a look and discover when we call task --help double usage is printed

image

I've tracked it down to #1478
Flagset parse automatically --help to display usage.
A simple fix is to override usage func

Now :

image

@vmaerten vmaerten linked an issue Sep 13, 2024 that may be closed by this pull request
@vmaerten vmaerten self-assigned this Sep 13, 2024
@vmaerten vmaerten changed the title fix: double usage is printed fix: double help is printed when --help is provided Sep 14, 2024
@vmaerten vmaerten merged commit 15aa4b8 into main Sep 14, 2024
14 checks passed
@vmaerten vmaerten deleted the 1805/fix-double-usage-help branch September 14, 2024 09:16
vmaerten added a commit that referenced this pull request Sep 14, 2024
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.

Unexpected logging of experiments usage
3 participants