commands: Make convert command non-global

See #4598
This commit is contained in:
Bjørn Erik Pedersen
2018-04-09 18:49:13 +02:00
parent 7bc5e89fba
commit 4b780ca778
2 changed files with 51 additions and 40 deletions

View File

@@ -199,7 +199,7 @@ func AddCommands() {
HugoCmd.AddCommand(configCmd)
HugoCmd.AddCommand(newCheckCmd().getCommand())
HugoCmd.AddCommand(newBenchmarkCmd().getCommand())
HugoCmd.AddCommand(convertCmd)
HugoCmd.AddCommand(newConvertCmd().getCommand())
HugoCmd.AddCommand(newCmd)
HugoCmd.AddCommand(listCmd)
HugoCmd.AddCommand(importCmd)