From a7734ba2481d29fea895c7786ed420a5955f0b4c Mon Sep 17 00:00:00 2001 From: "sentry[bot]" <39604003+sentry[bot]@users.noreply.github.com> Date: Sun, 18 Oct 2026 05:21:36 +0000 Subject: [PATCH] fix: add -r short alias for slug option in pr-base-picking --- codecov_cli/commands/base_picking.py | 2 ++ codecovcli_commands | 2 +- 2 files changed, 3 insertions(+), 1 deletion(-) 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.