mirror of
https://gitee.com/mirrors_adrian-thurston/yq.git
synced 2026-01-15 07:53:35 +08:00
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:
@@ -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(),
|
||||
|
||||
Reference in New Issue
Block a user