mirror of
https://github.com/gohugoio/hugo.git
synced 2025-08-16 20:53:59 +02:00
Fix long descriptions of benchmark
and serve
commands
This commit is contained in:
@@ -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,
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user