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 0d78d2a commit eeedd44Copy full SHA for eeedd44
cmd/scheduler/scheduler.go
@@ -66,7 +66,7 @@ func outputFunc(cmd *cobra.Command) *string {
66
pre := cmd.PreRunE
67
cmd.PreRunE = func(cmd *cobra.Command, args []string) error {
68
if !slices.Contains(outputs, outputFormat) {
69
- return errors.New("invalid value for --output. Supported values are 'table', 'wide', 'yaml', 'json'.")
+ return errors.New("invalid value for --output. Supported values are " + strings.Join(outputs, ", "))
70
}
71
72
if pre != nil {
0 commit comments