diff --git a/cmd/root.go b/cmd/root.go index fc48bd2..e8063c5 100644 --- a/cmd/root.go +++ b/cmd/root.go @@ -28,6 +28,11 @@ var rootCmd = &cobra.Command{ in a given project, current path or a custom path, to a single timestamped markdown file whose name is -rollup-.md.`, PersistentPreRunE: func(cmd *cobra.Command, args []string) error { + // Skip config loading and rollup execution for help command + if cmd.Name() == "help" { + return nil + } + if configFile == "" { defaultConfig := config.DefaultConfigPath() if config.FileExists(defaultConfig) {