summaryrefslogtreecommitdiffstats
path: root/commands/genman.go
diff options
context:
space:
mode:
Diffstat (limited to 'commands/genman.go')
-rw-r--r--commands/genman.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/commands/genman.go b/commands/genman.go
index 7b26afeed..cd5c8c84e 100644
--- a/commands/genman.go
+++ b/commands/genman.go
@@ -36,7 +36,7 @@ in the "man" directory under the current directory.`,
header := &doc.GenManHeader{
Section: "1",
Manual: "Hugo Manual",
- Source: fmt.Sprintf("Hugo %s", helpers.HugoVersion()),
+ Source: fmt.Sprintf("Hugo %s", helpers.CurrentHugoVersion),
}
if !strings.HasSuffix(genmandir, helpers.FilePathSeparator) {
genmandir += helpers.FilePathSeparator