projects
/
brevno-suite
/
hugo
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c69835d
)
Print feedback for `hugo genautocomplete`
author
Anthony Fok
<foka@debian.org>
Thu, 6 Aug 2015 21:38:25 +0000
(15:38 -0600)
committer
Bjørn Erik Pedersen
<bjorn.erik.pedersen@gmail.com>
Sun, 9 Aug 2015 15:59:44 +0000
(17:59 +0200)
commands/genautocomplete.go
patch
|
blob
|
history
diff --git
a/commands/genautocomplete.go
b/commands/genautocomplete.go
index d2a8704f3ac186d1e6a043384b57021b0bdea5b3..b37762e9ccdc0106c7905160e45447df6f4def68 100644
(file)
--- a/
commands/genautocomplete.go
+++ b/
commands/genautocomplete.go
@@
-38,6
+38,8
@@
or just source them in directly:
err := cmd.Root().GenBashCompletionFile(autocompleteTarget)
if err != nil {
jww.FATAL.Fatalln("Failed to generate shell completion file:", err)
+ } else {
+ jww.FEEDBACK.Println("Bash completion file for Hugo saved to", autocompleteTarget)
}
},
}