summaryrefslogtreecommitdiffstats
path: root/commands/gendoc.go
diff options
context:
space:
mode:
authorAnthony Fok <foka@debian.org>2015-08-07 22:26:28 -0600
committerBjørn Erik Pedersen <bjorn.erik.pedersen@gmail.com>2015-08-09 17:58:01 +0200
commitc69835daba35ce52596d08dedbee84f4ac16a6e0 (patch)
treef711204138d2817da508615846632bed97dd99c6 /commands/gendoc.go
parentfee5519129948d29584341f865e9e8cbe5668b83 (diff)
Print feedback for `hugo gendoc`
Diffstat (limited to 'commands/gendoc.go')
-rw-r--r--commands/gendoc.go3
1 files changed, 3 insertions, 0 deletions
diff --git a/commands/gendoc.go b/commands/gendoc.go
index 34f9c1229..fa0a7b9be 100644
--- a/commands/gendoc.go
+++ b/commands/gendoc.go
@@ -5,6 +5,7 @@ import (
"github.com/spf13/cobra"
"github.com/spf13/hugo/helpers"
"github.com/spf13/hugo/hugofs"
+ jww "github.com/spf13/jwalterweatherman"
"path"
"path/filepath"
"strings"
@@ -51,7 +52,9 @@ for rendering in Hugo.`,
return "/commands/" + strings.ToLower(base) + "/"
}
+ jww.FEEDBACK.Println("Generating Hugo command-line documentation in", gendocdir, "...")
cobra.GenMarkdownTreeCustom(cmd.Root(), gendocdir, prepender, linkHandler)
+ jww.FEEDBACK.Println("Done.")
},
}