Skip to content

Commit bbfeeb5

Browse files
authored
Fix description of diff suppress option (#491)
1 parent fdb77e9 commit bbfeeb5

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -113,7 +113,7 @@ Flags:
113113
--set-string stringArray set STRING values on the command line (can specify multiple or separate values with commas: key1=val1,key2=val2)
114114
--show-secrets do not redact secret values in the output
115115
--strip-trailing-cr strip trailing carriage return on input
116-
--suppress stringArray allows suppression of the values listed in the diff output
116+
--suppress stringArray allows suppression of the kinds listed in the diff output (can specify multiple, like '--suppress Deployment --suppress Service')
117117
-q, --suppress-secrets suppress secrets in the output
118118
--three-way-merge use three-way-merge to compute patch and generate diff output
119119
-f, --values valueFiles specify values in a YAML file (can specify multiple) (default [])

cmd/options.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ import (
1010
func AddDiffOptions(f *pflag.FlagSet, o *diff.Options) {
1111
f.BoolP("suppress-secrets", "q", false, "suppress secrets in the output")
1212
f.BoolVar(&o.ShowSecrets, "show-secrets", false, "do not redact secret values in the output")
13-
f.StringArrayVar(&o.SuppressedKinds, "suppress", []string{}, "allows suppression of the values listed in the diff output")
13+
f.StringArrayVar(&o.SuppressedKinds, "suppress", []string{}, "allows suppression of the kinds listed in the diff output (can specify multiple, like '--suppress Deployment --suppress Service')")
1414
f.IntVarP(&o.OutputContext, "context", "C", -1, "output NUM lines of context around changes")
1515
f.StringVar(&o.OutputFormat, "output", "diff", "Possible values: diff, simple, template, dyff. When set to \"template\", use the env var HELM_DIFF_TPL to specify the template.")
1616
f.BoolVar(&o.StripTrailingCR, "strip-trailing-cr", false, "strip trailing carriage return on input")

0 commit comments

Comments
 (0)