shithub: hugo

Download patch

ref: c69835daba35ce52596d08dedbee84f4ac16a6e0
parent: fee5519129948d29584341f865e9e8cbe5668b83
author: Anthony Fok <[email protected]>
date: Fri Aug 7 18:26:28 EDT 2015

Print feedback for `hugo gendoc`

--- a/commands/gendoc.go
+++ b/commands/gendoc.go
@@ -5,6 +5,7 @@
 	"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 @@
 			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.")
 	},
 }