aboutsummaryrefslogtreecommitdiffstats
path: root/doc/gen_manpage.go
diff options
context:
space:
mode:
authorMichael Muré <batolettre@gmail.com>2019-05-22 20:53:53 +0200
committerMichael Muré <batolettre@gmail.com>2019-05-22 20:53:53 +0200
commit485ca5900486b7fc3ea71cbcbb39b87272ae09fd (patch)
tree92551be8e01130542f969d06282abfc4a1c43629 /doc/gen_manpage.go
parente781d6c7fe7dba2fc526c2049aa188c9988e1cf4 (diff)
downloadgit-bug-485ca5900486b7fc3ea71cbcbb39b87272ae09fd.tar.gz
vendor: update dependencies
Diffstat (limited to 'doc/gen_manpage.go')
-rw-r--r--doc/gen_manpage.go4
1 files changed, 4 insertions, 0 deletions
diff --git a/doc/gen_manpage.go b/doc/gen_manpage.go
index 0c7a501a..eef0ff66 100644
--- a/doc/gen_manpage.go
+++ b/doc/gen_manpage.go
@@ -8,6 +8,7 @@ import (
"os"
"path"
"path/filepath"
+ "time"
"github.com/MichaelMure/git-bug/commands"
"github.com/spf13/cobra/doc"
@@ -17,9 +18,12 @@ func main() {
cwd, _ := os.Getwd()
dir := path.Join(cwd, "doc", "man")
+ date := time.Date(2019, 4, 1, 12, 0, 0, 0, time.UTC)
+
header := &doc.GenManHeader{
Title: "GIT-BUG",
Section: "1",
+ Date: &date,
Source: "Generated from git-bug's source code",
}