summaryrefslogtreecommitdiffstats
path: root/commands/hugo.go
diff options
context:
space:
mode:
authorBjørn Erik Pedersen <bjorn.erik.pedersen@gmail.com>2018-04-09 20:05:09 +0200
committerBjørn Erik Pedersen <bjorn.erik.pedersen@gmail.com>2018-04-11 09:48:56 +0200
commit15b1e269ade91ddc6a74c552bc61b0c5e527d268 (patch)
tree261a04a264722efffaee1edbf46f5660971bfa8d /commands/hugo.go
parent56a13080446283ed1cde6b69fc6f4fac85076c84 (diff)
comands: Make the config command non-global
See #4598
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 1237eaea1..3a45c3046 100644
--- a/commands/hugo.go
+++ b/commands/hugo.go
@@ -196,7 +196,7 @@ func AddCommands() {
HugoCmd.AddCommand(serverCmd)
HugoCmd.AddCommand(newVersionCmd().getCommand())
HugoCmd.AddCommand(newEnvCmd().getCommand())
- HugoCmd.AddCommand(configCmd)
+ HugoCmd.AddCommand(newConfigCmd().getCommand())
HugoCmd.AddCommand(newCheckCmd().getCommand())
HugoCmd.AddCommand(newBenchmarkCmd().getCommand())
HugoCmd.AddCommand(newConvertCmd().getCommand())