@@ -85,7 +85,7 @@ func newChartCommand() *cobra.Command {
8585 f .BoolVar (& diff .resetValues , "reset-values" , false , "reset the values to the ones built into the chart and merge in any new values" )
8686 f .BoolVar (& diff .allowUnreleased , "allow-unreleased" , false , "enables diffing of releases that are not yet deployed via Helm" )
8787 f .BoolVar (& diff .noHooks , "no-hooks" , false , "disable diffing of hooks" )
88- f .BoolVar (& diff .noTests , "no -tests" , false , "disable diffing of the test hooks specifically " )
88+ f .BoolVar (& diff .includeTests , "include -tests" , false , "enable the diffing of the helm test hooks" )
8989 f .BoolVar (& diff .devel , "devel" , false , "use development versions, too. Equivalent to version '>0.0.0-0'. If --version is set, this is ignored." )
9090 f .StringArrayVar (& diff .suppressedKinds , "suppress" , []string {}, "allows suppression of the values listed in the diff output" )
9191 f .IntVarP (& diff .outputContext , "context" , "C" , - 1 , "output NUM lines of context around changes" )
@@ -166,8 +166,8 @@ func (d *diffCmd) run() error {
166166 currentSpecs = manifest .Parse (releaseResponse .Release .Manifest , releaseResponse .Release .Namespace )
167167 newSpecs = manifest .Parse (upgradeResponse .Release .Manifest , upgradeResponse .Release .Namespace )
168168 } else {
169- currentSpecs = manifest .ParseRelease (releaseResponse .Release , d .noTests )
170- newSpecs = manifest .ParseRelease (upgradeResponse .Release , d .noTests )
169+ currentSpecs = manifest .ParseRelease (releaseResponse .Release , d .includeTests )
170+ newSpecs = manifest .ParseRelease (upgradeResponse .Release , d .includeTests )
171171 }
172172 }
173173
0 commit comments