summaryrefslogtreecommitdiffhomepage
path: root/commands/hugo.go
diff options
context:
space:
mode:
authorBjørn Erik Pedersen <[email protected]>2018-04-09 17:54:43 +0200
committerBjørn Erik Pedersen <[email protected]>2018-04-11 09:48:56 +0200
commitfdf1d94ebc7d1aa4855c62237f2edbd4bdade1a7 (patch)
treefaca07a544e098b2482b98ea36933bbf38e80222 /commands/hugo.go
parent1157fef85908ea54883fe0dba6adc4861ba02162 (diff)
downloadhugo-fdf1d94ebc7d1aa4855c62237f2edbd4bdade1a7.tar.gz
hugo-fdf1d94ebc7d1aa4855c62237f2edbd4bdade1a7.zip
commands: Make benchmark 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 ec05b7a35..e6c2771fa 100644
--- a/commands/hugo.go
+++ b/commands/hugo.go
@@ -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)