commands: Make benchmark non-global

See #4598
This commit is contained in:
Bjørn Erik Pedersen
2018-04-09 17:54:43 +02:00
parent 1157fef859
commit fdf1d94ebc
2 changed files with 45 additions and 29 deletions

View File

@@ -198,7 +198,7 @@ func AddCommands() {
HugoCmd.AddCommand(envCmd)
HugoCmd.AddCommand(configCmd)
HugoCmd.AddCommand(checkCmd)
HugoCmd.AddCommand(benchmarkCmd)
HugoCmd.AddCommand(newBenchmarkCmd().getCommand())
HugoCmd.AddCommand(convertCmd)
HugoCmd.AddCommand(newCmd)
HugoCmd.AddCommand(listCmd)