From cba925142fec0cec16413bbca277d19d83dde258 Mon Sep 17 00:00:00 2001 From: Adrian Thurston Date: Thu, 16 Jun 2022 11:00:25 -0700 Subject: [PATCH] feat: added -t short option for --strip-comments The -s short option was taken. Use the next letter in the first word, -t. --- cmd/root.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cmd/root.go b/cmd/root.go index cff7763..b68c0fb 100644 --- a/cmd/root.go +++ b/cmd/root.go @@ -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(),