Skip to content

Commit

Permalink
Show correct version with --version
Browse files Browse the repository at this point in the history
fixes pulp#351
  • Loading branch information
mdellweg committed Aug 31, 2021
1 parent f033890 commit 3afec2b
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions CHANGES/351.bugfix
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
Fixed the referenced version with the `--version` parameter.
2 changes: 1 addition & 1 deletion pulpcore/cli/common/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,7 @@ def _config_callback(ctx: click.Context, param: Any, value: Optional[str]) -> No


@click.group()
@click.version_option(prog_name=_("pulp3 command line interface"))
@click.version_option(prog_name=_("pulp3 command line interface"), package_name="pulp-cli")
@click.option(
"--profile",
"-p",
Expand Down

0 comments on commit 3afec2b

Please sign in to comment.