summaryrefslogtreecommitdiffstats
path: root/commands/hugo.go
diff options
context:
space:
mode:
Diffstat (limited to 'commands/hugo.go')
-rw-r--r--commands/hugo.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/commands/hugo.go b/commands/hugo.go
index 8f1df441a..3c3cf26d3 100644
--- a/commands/hugo.go
+++ b/commands/hugo.go
@@ -193,7 +193,7 @@ func Execute() {
// AddCommands adds child commands to the root command HugoCmd.
func AddCommands() {
- HugoCmd.AddCommand(serverCmd)
+ HugoCmd.AddCommand(newServerCmd().getCommand())
HugoCmd.AddCommand(newVersionCmd().getCommand())
HugoCmd.AddCommand(newEnvCmd().getCommand())
HugoCmd.AddCommand(newConfigCmd().getCommand())