aboutsummaryrefslogtreecommitdiffhomepage
path: root/commands
diff options
context:
space:
mode:
authorAndreas Deininger <[email protected]>2024-02-21 20:18:38 +0100
committerBjørn Erik Pedersen <[email protected]>2024-03-07 14:03:49 +0100
commitada3fceea839c2abc0e22eafbb683a4df42f5bae (patch)
tree673c8fb953e477d822acc9a95b79924f8227723d /commands
parent05e23bd55c67f636c628a105ca45e19408740ec6 (diff)
downloadhugo-ada3fceea839c2abc0e22eafbb683a4df42f5bae.tar.gz
hugo-ada3fceea839c2abc0e22eafbb683a4df42f5bae.zip
docs: Fix hyphens and grammar in synopsis of command 'hugo server'
Diffstat (limited to 'commands')
-rw-r--r--commands/server.go6
1 files changed, 3 insertions, 3 deletions
diff --git a/commands/server.go b/commands/server.go
index d08bc5277..0ce655c51 100644
--- a/commands/server.go
+++ b/commands/server.go
@@ -512,9 +512,9 @@ func (c *serverCommand) Init(cd *simplecobra.Commandeer) error {
cmd.Long = `Hugo provides its own webserver which builds and serves the site.
While hugo server is high performance, it is a webserver with limited options.
-'hugo server' will by default write and server files from disk, but you can
-render to memory by using the '--renderToMemory' flag. This can be faster
-in some cases, but it will consume more memory.
+The ` + "`" + `hugo server` + "`" + ` command will by default write and serve files from disk, but
+you can render to memory by using the ` + "`" + `--renderToMemory` + "`" + ` flag. This can be
+faster in some cases, but it will consume more memory.
By default hugo will also watch your files for any changes you make and
automatically rebuild the site. It will then live reload any open browser pages