Skip to content

fix: Use the cobra CommandPath for usage to avoid duplication #1617

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

Merged
merged 1 commit into from
May 20, 2022

Conversation

mafredri
Copy link
Member

@mafredri mafredri commented May 20, 2022

This PR fixes duplicated command path when errors happen on the root command.

See screenshot in #1616 (otherwise unrelated issue)

@mafredri mafredri self-assigned this May 20, 2022
@mafredri mafredri requested a review from a team May 20, 2022 09:13
@mafredri mafredri merged commit 992b583 into main May 20, 2022
@mafredri mafredri deleted the mafredri/fix-cli-help-path-on-error branch May 20, 2022 09:42
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