shithub: hugo

Download patch

ref: 23a711a29a587651cfb85f53223dc0260367ac6a
parent: 9af47f07d3f9700e233a98d7e84d85c3a30f9cd5
author: spf13 <[email protected]>
date: Fri Nov 1 14:43:41 EDT 2013

Hugo updated to work with latest cobra

--- a/commands/hugo.go
+++ b/commands/hugo.go
@@ -42,14 +42,12 @@
 	},
 }
 
-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() {