Skip to content

Commit

Permalink
gh: updates from v2.22.1
Browse files Browse the repository at this point in the history
  • Loading branch information
rsteube committed Jan 28, 2023
1 parent 77059c2 commit bf7c622
Show file tree
Hide file tree
Showing 6 changed files with 6 additions and 6 deletions.
2 changes: 1 addition & 1 deletion completers/gh_completer/cmd/gpgKey_delete.go
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ var gpgKey_deleteCmd = &cobra.Command{
func init() {
carapace.Gen(gpgKey_deleteCmd).Standalone()

gpgKey_deleteCmd.Flags().BoolP("confirm", "y", false, "Skip the confirmation prompt")
gpgKey_deleteCmd.Flags().BoolP("yes", "y", false, "Skip the confirmation prompt")
gpgKeyCmd.AddCommand(gpgKey_deleteCmd)

carapace.Gen(gpgKey_deleteCmd).PositionalCompletion(
Expand Down
2 changes: 1 addition & 1 deletion completers/gh_completer/cmd/issue_delete.go
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ var issue_deleteCmd = &cobra.Command{
func init() {
carapace.Gen(issue_deleteCmd).Standalone()

issue_deleteCmd.Flags().Bool("confirm", false, "confirm deletion without prompting")
issue_deleteCmd.Flags().Bool("yes", false, "confirm deletion without prompting")
issueCmd.AddCommand(issue_deleteCmd)

carapace.Gen(issue_deleteCmd).PositionalCompletion(
Expand Down
2 changes: 1 addition & 1 deletion completers/gh_completer/cmd/label_delete.go
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ var label_deleteCmd = &cobra.Command{
func init() {
carapace.Gen(label_deleteCmd).Standalone()

label_deleteCmd.Flags().Bool("confirm", false, "Confirm deletion without prompting")
label_deleteCmd.Flags().Bool("yes", false, "Confirm deletion without prompting")
labelCmd.AddCommand(label_deleteCmd)

carapace.Gen(label_deleteCmd).PositionalCompletion(
Expand Down
2 changes: 1 addition & 1 deletion completers/gh_completer/cmd/repo_archive.go
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ var repo_archiveCmd = &cobra.Command{
func init() {
carapace.Gen(repo_archiveCmd).Standalone()

repo_archiveCmd.Flags().BoolP("confirm", "y", false, "Skip the confirmation prompt")
repo_archiveCmd.Flags().BoolP("yes", "y", false, "Skip the confirmation prompt")
repoCmd.AddCommand(repo_archiveCmd)

carapace.Gen(repo_archiveCmd).PositionalCompletion(
Expand Down
2 changes: 1 addition & 1 deletion completers/gh_completer/cmd/repo_rename.go
Original file line number Diff line number Diff line change
Expand Up @@ -16,8 +16,8 @@ var repo_renameCmd = &cobra.Command{
func init() {
carapace.Gen(repo_renameCmd).Standalone()

repo_renameCmd.Flags().BoolP("confirm", "y", false, "skip confirmation prompt")
repo_renameCmd.PersistentFlags().StringP("repo", "R", "", "Select another repository using the `[HOST/]OWNER/REPO` format")
repo_renameCmd.Flags().BoolP("yes", "y", false, "Skip the confirmation prompt")
repoCmd.AddCommand(repo_renameCmd)

carapace.Gen(repo_renameCmd).FlagCompletion(carapace.ActionMap{
Expand Down
2 changes: 1 addition & 1 deletion completers/gh_completer/cmd/sshKey_delete.go
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ var sshKey_deleteCmd = &cobra.Command{
func init() {
carapace.Gen(sshKey_deleteCmd).Standalone()

sshKey_deleteCmd.Flags().BoolP("confirm", "y", false, "Skip the confirmation prompt")
sshKey_deleteCmd.Flags().BoolP("yes", "y", false, "Skip the confirmation prompt")
sshKeyCmd.AddCommand(sshKey_deleteCmd)

carapace.Gen(sshKey_deleteCmd).PositionalCompletion(
Expand Down

0 comments on commit bf7c622

Please sign in to comment.