diff --git a/cmd/knavigator/main.go b/cmd/knavigator/main.go index 72aa59e..75da8e3 100644 --- a/cmd/knavigator/main.go +++ b/cmd/knavigator/main.go @@ -39,6 +39,11 @@ func mainInternal() error { klog.InitFlags(nil) flag.Parse() + if len(taskConfigs) == 0 { + flag.Usage() + return fmt.Errorf("missing task config") + } + taskconfigs, err := config.NewFromPaths(taskConfigs) if err != nil { return err