diff --git a/internal/command/man.go b/internal/command/man.go index 401d0915..52720329 100644 --- a/internal/command/man.go +++ b/internal/command/man.go @@ -6,6 +6,10 @@ import ( ) func manCommand(root *cobra.Command) *cobra.Command { + // Do not include timestamp in generated man pages. + // See https://github.com/spf13/cobra/issues/142 + root.DisableAutoGenTag = true + cmd := &cobra.Command{ Use: "man -o ", Short: "Generate manual pages for all dasel subcommands",