diff --git a/internal/commands/repo/rm.go b/internal/commands/repo/rm.go index a72d53c..48ae1ec 100644 --- a/internal/commands/repo/rm.go +++ b/internal/commands/repo/rm.go @@ -53,7 +53,7 @@ func newRmCmd(streams command.Streams, hubClient *hub.Client, parent string) *co return runRm(streams, hubClient, opts, args[0]) }, } - cmd.Flags().BoolVar(&opts.force, "force", false, "Force deletion of the repository") + cmd.Flags().BoolVarP(&opts.force, "force", "f", false, "Force deletion of the repository") return cmd } diff --git a/internal/commands/tag/rm.go b/internal/commands/tag/rm.go index 0a949d2..a0e3b8a 100644 --- a/internal/commands/tag/rm.go +++ b/internal/commands/tag/rm.go @@ -53,7 +53,7 @@ func newRmCmd(streams command.Streams, hubClient *hub.Client, parent string) *co return runRm(streams, hubClient, opts, args[0]) }, } - cmd.Flags().BoolVar(&opts.force, "force", false, "Force deletion of the tag") + cmd.Flags().BoolVarP(&opts.force, "force", "f", false, "Force deletion of the tag") return cmd } diff --git a/internal/commands/token/revoke.go b/internal/commands/token/revoke.go index 1ef67a0..3f1c5e7 100644 --- a/internal/commands/token/revoke.go +++ b/internal/commands/token/revoke.go @@ -53,7 +53,7 @@ func newRevokeCmd(streams command.Streams, hubClient *hub.Client, parent string) return runRevoke(streams, hubClient, opts, args[0]) }, } - cmd.Flags().BoolVar(&opts.force, "force", false, "Force deletion of the tag") + cmd.Flags().BoolVarP(&opts.force, "force", "f", false, "Force deletion of the tag") return cmd }