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 --version flag not showing correct version #57

Merged
merged 2 commits into from
May 2, 2024

Conversation

CTY-git
Copy link
Contributor

@CTY-git CTY-git commented May 2, 2024

Issue is due to inequivalent package name and CLI name. By setting the package_name param to patchwork-cli click will now look for the correct package.

@CTY-git CTY-git requested a review from codelion May 2, 2024 13:43
@codelion codelion mentioned this pull request May 2, 2024
@patched-admin
Copy link
Contributor

The code change in patchwork/app.py updates the click.version_option function by adding a space before the package name and changing the value from "patchwork_cli" to "patchwork-cli" for consistency in naming and formatting.


@codelion codelion merged commit 33f63f7 into main May 2, 2024
1 check passed
@codelion codelion deleted the fix-cli-version-issue branch May 2, 2024 14:37
@codelion codelion mentioned this pull request May 2, 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.

3 participants