1
0
mirror of https://github.com/gohugoio/hugo.git synced 2024-05-11 05:54:58 +00:00

commands: Fix some flag diff

The CLI docs output is now identical with the master version.

See #4598
This commit is contained in:
Bjørn Erik Pedersen
2018-04-11 09:57:43 +02:00
parent a7d00fc39e
commit 24d5c21942
3 changed files with 7 additions and 4 deletions

View File

@@ -44,6 +44,7 @@ creating a benchmark.`,
cmd.Flags().StringVar(&c.cpuProfileFile, "cpuprofile", "", "path/filename for the CPU profile file")
cmd.Flags().StringVar(&c.memProfileFile, "memprofile", "", "path/filename for the memory profile file")
cmd.Flags().IntVarP(&c.benchmarkTimes, "count", "n", 13, "number of times to build the site")
cmd.Flags().Bool("renderToMemory", false, "render to memory (only useful for benchmark testing)")
cmd.RunE = c.benchmark