feat: added -t short option for --strip-comments

The -s short option was taken. Use the next letter in the first word, -t.
This commit is contained in:
Adrian Thurston
2022-06-16 11:00:25 -07:00
parent d066451852
commit cba925142f

View File

@@ -94,7 +94,7 @@ yq -P sample.json
rootCmd.PersistentFlags().StringVarP(&expressionFile, "from-file", "", "", "Load expression from specified file.")
rootCmd.PersistentFlags().BoolVarP(&stripComments, "strip-comments", "", false, "Strip comments from output.")
rootCmd.PersistentFlags().BoolVarP(&stripComments, "strip-comments", "t", false, "Strip comments from output.")
rootCmd.AddCommand(
createEvaluateSequenceCommand(),