diff --git a/modules/root.go b/modules/root.go index e6edf5a..d862bd5 100644 --- a/modules/root.go +++ b/modules/root.go @@ -52,6 +52,9 @@ const configFlag = "config" func init() { cobra.EnableTraverseRunHooks = true + + rootCmd.SetOut(os.Stdout) + rootCmd.PersistentFlags().StringP(configFlag, "c", "", "Path to config file") cobra.AddTemplateFunc("runtimeVersion", runtime.Version)