From 5c117204faed2c8a2359f85d37da4de1713d2cd7 Mon Sep 17 00:00:00 2001 From: Mike Farah Date: Fri, 28 Feb 2020 15:57:05 +1100 Subject: [PATCH] Shorter colors flag --- cmd/root.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cmd/root.go b/cmd/root.go index 24d8b2e6..14944eaf 100644 --- a/cmd/root.go +++ b/cmd/root.go @@ -43,7 +43,7 @@ func New() *cobra.Command { rootCmd.PersistentFlags().BoolVarP(&prettyPrint, "prettyPrint", "P", false, "pretty print") rootCmd.PersistentFlags().IntVarP(&indent, "indent", "I", 2, "sets indent level for output") rootCmd.Flags().BoolVarP(&version, "version", "V", false, "Print version information and quit") - rootCmd.PersistentFlags().BoolVarP(&colorsEnabled, "colorsEnabled", "C", false, "enable colors") + rootCmd.PersistentFlags().BoolVarP(&colorsEnabled, "colors", "C", false, "print using colors") rootCmd.AddCommand( createReadCmd(),