diff --git a/codecov_cli/commands/base_picking.py b/codecov_cli/commands/base_picking.py index 778677ea6..892a8f764 100644 --- a/codecov_cli/commands/base_picking.py +++ b/codecov_cli/commands/base_picking.py @@ -33,7 +33,9 @@ fallback_field=FallbackFieldEnum.pull_request_number, ) @click.option( + "-r", "--slug", + "slug", cls=BrandedCodecovOption, fallback_field=FallbackFieldEnum.slug, help="owner/repo slug", diff --git a/codecovcli_commands b/codecovcli_commands index bd72875a9..26e65e346 100644 --- a/codecovcli_commands +++ b/codecovcli_commands @@ -150,7 +150,7 @@ Usage: codecovcli pr-base-picking [OPTIONS] Options: --base-sha TEXT Base commit SHA (with 40 chars) [required] --pr TEXT Pull Request id to associate commit with - --slug TEXT owner/repo slug + -r, --slug TEXT owner/repo slug -t, --token TEXT Codecov upload token --service TEXT Specify the service provider of the repo e.g. github -h, --help Show this message and exit.