summaryrefslogtreecommitdiffstats
path: root/commands/hugo.go
diff options
context:
space:
mode:
authorBjørn Erik Pedersen <bjorn.erik.pedersen@gmail.com>2018-04-09 20:42:08 +0200
committerBjørn Erik Pedersen <bjorn.erik.pedersen@gmail.com>2018-04-11 09:48:56 +0200
commite26a8b242a6434117d089a0799238add7025dbf4 (patch)
treef6578e4eab781a641b17522dc0d89dd1bbd2a347 /commands/hugo.go
parent2a2c9838671b5401331d20f8c72e2b934fe34e8d (diff)
commands: Make the list commands non-global
See #4598
Diffstat (limited to 'commands/hugo.go')
-rw-r--r--commands/hugo.go6
1 files changed, 3 insertions, 3 deletions
diff --git a/commands/hugo.go b/commands/hugo.go
index 6e3dc488d..30670a30e 100644
--- a/commands/hugo.go
+++ b/commands/hugo.go
@@ -201,15 +201,15 @@ func AddCommands() {
HugoCmd.AddCommand(newBenchmarkCmd().getCommand())
HugoCmd.AddCommand(newConvertCmd().getCommand())
HugoCmd.AddCommand(newNewCmd().getCommand())
- HugoCmd.AddCommand(listCmd)
+ HugoCmd.AddCommand(newListCmd().getCommand())
HugoCmd.AddCommand(newImportCmd().getCommand())
HugoCmd.AddCommand(genCmd)
genCmd.AddCommand(genautocompleteCmd)
genCmd.AddCommand(gendocCmd)
genCmd.AddCommand(genmanCmd)
- genCmd.AddCommand(createGenDocsHelper().cmd)
- genCmd.AddCommand(createGenChromaStyles().cmd)
+ genCmd.AddCommand(createGenDocsHelper().getCommand())
+ genCmd.AddCommand(createGenChromaStyles().getCommand())
}