From e455cf49dcd60a5f2b71a6f75cd8955864f1f5c9 Mon Sep 17 00:00:00 2001 From: rsteube Date: Tue, 30 Apr 2024 15:36:22 +0200 Subject: [PATCH] gh: updates from v2.49.0 --- completers/gh_completer/cmd/attestation.go | 1 - completers/gh_completer/cmd/attestation_download.go | 2 +- completers/gh_completer/cmd/run_rerun.go | 2 +- 3 files changed, 2 insertions(+), 3 deletions(-) diff --git a/completers/gh_completer/cmd/attestation.go b/completers/gh_completer/cmd/attestation.go index 92137fe6c4..0e67d5159d 100644 --- a/completers/gh_completer/cmd/attestation.go +++ b/completers/gh_completer/cmd/attestation.go @@ -9,7 +9,6 @@ var attestationCmd = &cobra.Command{ Use: "attestation [subcommand]", Short: "Work with artifact attestations", Aliases: []string{"at"}, - Hidden: true, Run: func(cmd *cobra.Command, args []string) {}, } diff --git a/completers/gh_completer/cmd/attestation_download.go b/completers/gh_completer/cmd/attestation_download.go index 40a85a2342..bf24a0ab61 100644 --- a/completers/gh_completer/cmd/attestation_download.go +++ b/completers/gh_completer/cmd/attestation_download.go @@ -8,7 +8,7 @@ import ( var attestation_downloadCmd = &cobra.Command{ Use: "download [ | oci://] [--owner | --repo]", - Short: "Download an artifact's Sigstore bundle(s) for offline use", + Short: "Download an artifact's attestations for offline use", Run: func(cmd *cobra.Command, args []string) {}, } diff --git a/completers/gh_completer/cmd/run_rerun.go b/completers/gh_completer/cmd/run_rerun.go index a1f82de8cb..82f2c17792 100644 --- a/completers/gh_completer/cmd/run_rerun.go +++ b/completers/gh_completer/cmd/run_rerun.go @@ -17,7 +17,7 @@ func init() { run_rerunCmd.Flags().BoolP("debug", "d", false, "Rerun with debug logging") run_rerunCmd.Flags().Bool("failed", false, "Rerun only failed jobs, including dependencies") - run_rerunCmd.Flags().StringP("job", "j", "", "Rerun a specific job from a run, including dependencies") + run_rerunCmd.Flags().StringP("job", "j", "", "Rerun a specific job ID from a run, including dependencies") runCmd.AddCommand(run_rerunCmd) carapace.Gen(run_rerunCmd).FlagCompletion(carapace.ActionMap{