comands: Make the config command non-global

See #4598
This commit is contained in:
Bjørn Erik Pedersen
2018-04-09 20:05:09 +02:00
parent 56a1308044
commit 15b1e269ad
4 changed files with 26 additions and 27 deletions

View File

@@ -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())