mirror of
https://github.com/yannh/kubeconform.git
synced 2026-02-11 05:59:22 +00:00
fix: add missing output formats in error message (#213)
- Add missing 'junit' and 'pretty' output formats. - Use quotes vs. backticks around command name
This commit is contained in:
parent
c8bce62898
commit
71fd5f8386
1 changed files with 1 additions and 1 deletions
|
|
@ -25,6 +25,6 @@ func New(w io.Writer, outputFormat string, printSummary, isStdin, verbose bool)
|
|||
case outputFormat == "text":
|
||||
return textOutput(w, printSummary, isStdin, verbose), nil
|
||||
default:
|
||||
return nil, fmt.Errorf("`outputFormat` must be 'json', 'tap' or 'text'")
|
||||
return nil, fmt.Errorf("'outputFormat' must be 'json', 'junit', 'pretty', 'tap' or 'text'")
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue