Drop grep invert-match shorthand flag to resolve conflict with log level verbosity

This commit is contained in:
Prachi Pendse
2020-07-03 11:43:17 -04:00
parent a7545bdad3
commit 87c7a32ffe

View File

@@ -31,8 +31,8 @@ func GetGrepRunner(name string) *GrepRunner {
"also print resources from subpackages.")
c.Flags().BoolVar(&r.KeepAnnotations, "annotate", true,
"annotate resources with their file origins.")
c.Flags().BoolVarP(&r.InvertMatch, "invert-match", "v", false,
" Selected Resources are those not matching any of the specified patterns..")
c.Flags().BoolVarP(&r.InvertMatch, "invert-match", "", false,
"Selected Resources are those not matching any of the specified patterns..")
r.Command = c
return r