diff --git a/command/root.go b/command/root.go index 085d1758b..d0c5f0a62 100644 --- a/command/root.go +++ b/command/root.go @@ -21,9 +21,9 @@ var BuildDate = "YYYY-MM-DD" func init() { RootCmd.Version = fmt.Sprintf("%s (%s)", strings.TrimPrefix(Version, "v"), BuildDate) - RootCmd.AddCommand(versionCmd) + RootCmd.AddCommand(versionCmd) - RootCmd.PersistentFlags().StringP("repo", "R", "", "Current GitHub repository") + RootCmd.PersistentFlags().StringP("repo", "R", "", "Current GitHub repository") RootCmd.PersistentFlags().Bool("help", false, "Show help for command") RootCmd.Flags().Bool("version", false, "Print gh version") // TODO: