docs. Regen CLI docs

Closes #9363
This commit is contained in:
Bjørn Erik Pedersen 2022-01-07 12:37:07 +01:00
parent e334a40661
commit 74f0777c5f
No known key found for this signature in database
GPG key ID: 330E6E2BD4859D8F
5 changed files with 5 additions and 1 deletions

View file

@ -49,6 +49,7 @@ hugo [flags]
--minify minify any supported output format (HTML, XML etc.) --minify minify any supported output format (HTML, XML etc.)
--noChmod don't sync permission mode of files --noChmod don't sync permission mode of files
--noTimes don't sync modification time of files --noTimes don't sync modification time of files
--panicOnWarning panic on first WARNING log
--path-warnings print warnings on duplicate target paths etc. --path-warnings print warnings on duplicate target paths etc.
--poll string set this to a poll interval, e.g --poll 700ms, to use a poll based approach to watch for file system changes --poll string set this to a poll interval, e.g --poll 700ms, to use a poll based approach to watch for file system changes
--print-mem print memory usage to screen at intervals --print-mem print memory usage to screen at intervals

View file

@ -45,6 +45,7 @@ See https://gohugo.io/hugo-modules/ for more information.
--minify minify any supported output format (HTML, XML etc.) --minify minify any supported output format (HTML, XML etc.)
--noChmod don't sync permission mode of files --noChmod don't sync permission mode of files
--noTimes don't sync modification time of files --noTimes don't sync modification time of files
--panicOnWarning panic on first WARNING log
--path-warnings print warnings on duplicate target paths etc. --path-warnings print warnings on duplicate target paths etc.
--poll string set this to a poll interval, e.g --poll 700ms, to use a poll based approach to watch for file system changes --poll string set this to a poll interval, e.g --poll 700ms, to use a poll based approach to watch for file system changes
--print-mem print memory usage to screen at intervals --print-mem print memory usage to screen at intervals

View file

@ -46,6 +46,7 @@ hugo new [path] [flags]
--minify minify any supported output format (HTML, XML etc.) --minify minify any supported output format (HTML, XML etc.)
--noChmod don't sync permission mode of files --noChmod don't sync permission mode of files
--noTimes don't sync modification time of files --noTimes don't sync modification time of files
--panicOnWarning panic on first WARNING log
--path-warnings print warnings on duplicate target paths etc. --path-warnings print warnings on duplicate target paths etc.
--poll string set this to a poll interval, e.g --poll 700ms, to use a poll based approach to watch for file system changes --poll string set this to a poll interval, e.g --poll 700ms, to use a poll based approach to watch for file system changes
--print-mem print memory usage to screen at intervals --print-mem print memory usage to screen at intervals

View file

@ -21,7 +21,7 @@ hugo new site [path] [flags]
``` ```
--force init inside non-empty directory --force init inside non-empty directory
-f, --format string config & frontmatter format (default "toml") -f, --format string config file format (default "toml")
-h, --help help for site -h, --help help for site
``` ```

View file

@ -58,6 +58,7 @@ hugo server [flags]
--noChmod don't sync permission mode of files --noChmod don't sync permission mode of files
--noHTTPCache prevent HTTP caching --noHTTPCache prevent HTTP caching
--noTimes don't sync modification time of files --noTimes don't sync modification time of files
--panicOnWarning panic on first WARNING log
--path-warnings print warnings on duplicate target paths etc. --path-warnings print warnings on duplicate target paths etc.
--poll string set this to a poll interval, e.g --poll 700ms, to use a poll based approach to watch for file system changes --poll string set this to a poll interval, e.g --poll 700ms, to use a poll based approach to watch for file system changes
-p, --port int port on which the server will listen (default 1313) -p, --port int port on which the server will listen (default 1313)