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:
9af47f0
)
Hugo updated to work with latest cobra
author
spf13
<steve.francia@gmail.com>
Fri, 1 Nov 2013 22:43:41 +0000
(18:43 -0400)
committer
spf13
<steve.francia@gmail.com>
Fri, 1 Nov 2013 22:43:41 +0000
(18:43 -0400)
commands/hugo.go
patch
|
blob
|
history
diff --git
a/commands/hugo.go
b/commands/hugo.go
index 83b3334a7e2184f0bd60fecd12247d32f276bc75..d246126599d965b371e497a477231a70e192a43d 100644
(file)
--- a/
commands/hugo.go
+++ b/
commands/hugo.go
@@
-42,14
+42,12
@@
Complete documentation is available at http://hugo.spf13.com`,
},
}
-var Hugo *cobra.Commander
var BuildWatch, Draft, UglyUrls, Verbose bool
var Source, Destination, BaseUrl, CfgFile string
func Execute() {
AddCommands()
- Hugo := HugoCmd.ToCommander()
- utils.StopOnErr(Hugo.Execute())
+ utils.StopOnErr(HugoCmd.Execute())
}
func AddCommands() {