We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 17a06a7 commit 7be2897Copy full SHA for 7be2897
1 file changed
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("--output must be 'yaml' or 'json'")
86
87
return nil
88
0 commit comments