We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 17a06a7 commit 44d60ddCopy full SHA for 44d60dd
kustomize/commands/version/version.go
@@ -81,6 +81,8 @@ func (o *Options) Run() error {
81
return errors.WrapPrefixf(err, "marshalling provenance to json")
82
}
83
fmt.Fprintln(o.Writer, string(marshalled))
84
+ default:
85
+ return fmt.Errorf("error: --output must be 'yaml' or 'json'")
86
87
return nil
88
0 commit comments