diff --git a/.tool-versions b/.tool-versions index 1a59aeb..c9953ae 100644 --- a/.tool-versions +++ b/.tool-versions @@ -1 +1 @@ -golang 1.23.0 +golang 1.23.1 diff --git a/cmd/root.go b/cmd/root.go index 0b2dd8f..506a1d4 100644 --- a/cmd/root.go +++ b/cmd/root.go @@ -27,7 +27,7 @@ var rootCmd = &cobra.Command{ Long: `Rollup is a tool that writes the contents of all files (with target custom file types provided) 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 { + RunE: func(cmd *cobra.Command, args []string) error { // Skip config loading and rollup execution for help command if cmd.Name() == "help" { return nil