Improve the server usage output

This commit is contained in:
spf13 2015-11-12 10:23:41 -05:00
parent 3bbd02a1ca
commit a50133ff38

View file

@ -42,10 +42,14 @@ var disableLiveReload bool
var serverCmd = &cobra.Command{ var serverCmd = &cobra.Command{
Use: "server", Use: "server",
Short: "Hugo runs its own webserver to render the files", Short: "A high performance webserver",
Long: `Hugo is able to run its own high performance web server. Long: `Hugo provides it's own webserver which builds and serves the site.
Hugo will render all the files defined in the source directory and While hugo server is high performance, it is a webserver with limited options.
serve them up.`, Many run it in production, but the standard behavior is for people to use it in development
and use a more full featured server such as Nginx or Caddy.
Often server is paired with '--watch' which Hugo will look for changes to the source and
continously rebuild and serve the website.`,
//Run: server, //Run: server,
} }