mirror of
https://github.com/gohugoio/hugo.git
synced 2024-11-07 20:30:36 -05:00
Fix long descriptions of benchmark
and serve
commands
This commit is contained in:
parent
331043b98e
commit
e3433e6afb
2 changed files with 3 additions and 3 deletions
|
@ -25,8 +25,8 @@ var benchmarkTimes int
|
||||||
var benchmark = &cobra.Command{
|
var benchmark = &cobra.Command{
|
||||||
Use: "benchmark",
|
Use: "benchmark",
|
||||||
Short: "Benchmark hugo by building a site a number of times",
|
Short: "Benchmark hugo by building a site a number of times",
|
||||||
Long: `Hugo can build a site many times over and anlyze the
|
Long: `Hugo can build a site many times over and analyze the
|
||||||
running process creating a `,
|
running process creating a benchmark.`,
|
||||||
Run: func(cmd *cobra.Command, args []string) {
|
Run: func(cmd *cobra.Command, args []string) {
|
||||||
InitializeConfig()
|
InitializeConfig()
|
||||||
bench(cmd, args)
|
bench(cmd, args)
|
||||||
|
|
|
@ -44,7 +44,7 @@ var serverCmd = &cobra.Command{
|
||||||
Short: "Hugo runs its own webserver to render the files",
|
Short: "Hugo runs its own webserver to render the files",
|
||||||
Long: `Hugo is able to run its own high performance web server.
|
Long: `Hugo is able to run its own high performance web server.
|
||||||
Hugo will render all the files defined in the source directory and
|
Hugo will render all the files defined in the source directory and
|
||||||
Serve them up.`,
|
serve them up.`,
|
||||||
//Run: server,
|
//Run: server,
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue