From dea2242c688546f0a67222b1d03438731f44fec3 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Bj=C3=B8rn=20Erik=20Pedersen?= Date: Tue, 15 Feb 2022 12:57:49 +0100 Subject: [PATCH] commands: Rename --path-warnings, --print-men to --printPathWarnings, --printMemoryUsage To get it in line with the others. --- content/en/commands/hugo.md | 4 ++-- content/en/commands/hugo_mod.md | 4 ++-- content/en/commands/hugo_new.md | 4 ++-- content/en/commands/hugo_server.md | 4 ++-- 4 files changed, 8 insertions(+), 8 deletions(-) diff --git a/content/en/commands/hugo.md b/content/en/commands/hugo.md index 827bb89e6..3f459cbda 100644 --- a/content/en/commands/hugo.md +++ b/content/en/commands/hugo.md @@ -50,9 +50,9 @@ hugo [flags] --noChmod don't sync permission mode 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. --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 + --printMemoryUsage print memory usage to screen at intervals + --printPathWarnings print warnings on duplicate target paths etc. --quiet build in quiet mode --renderToMemory render to memory (only useful for benchmark testing) -s, --source string filesystem path to read files relative from diff --git a/content/en/commands/hugo_mod.md b/content/en/commands/hugo_mod.md index 7b620cd3e..6f5fdb3c9 100644 --- a/content/en/commands/hugo_mod.md +++ b/content/en/commands/hugo_mod.md @@ -46,9 +46,9 @@ See https://gohugo.io/hugo-modules/ for more information. --noChmod don't sync permission mode 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. --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 + --printMemoryUsage print memory usage to screen at intervals + --printPathWarnings print warnings on duplicate target paths etc. --templateMetrics display metrics about template executions --templateMetricsHints calculate some improvement hints when combined with --templateMetrics -t, --theme strings themes to use (located in /themes/THEMENAME/) diff --git a/content/en/commands/hugo_new.md b/content/en/commands/hugo_new.md index 018cd2af8..25b42820d 100644 --- a/content/en/commands/hugo_new.md +++ b/content/en/commands/hugo_new.md @@ -47,9 +47,9 @@ hugo new [path] [flags] --noChmod don't sync permission mode 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. --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 + --printMemoryUsage print memory usage to screen at intervals + --printPathWarnings print warnings on duplicate target paths etc. --templateMetrics display metrics about template executions --templateMetricsHints calculate some improvement hints when combined with --templateMetrics -t, --theme strings themes to use (located in /themes/THEMENAME/) diff --git a/content/en/commands/hugo_server.md b/content/en/commands/hugo_server.md index 524340f82..f85faf5a8 100644 --- a/content/en/commands/hugo_server.md +++ b/content/en/commands/hugo_server.md @@ -59,10 +59,10 @@ hugo server [flags] --noHTTPCache prevent HTTP caching --noTimes don't sync modification time of files --panicOnWarning panic on first WARNING log - --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 -p, --port int port on which the server will listen (default 1313) - --print-mem print memory usage to screen at intervals + --printMemoryUsage print memory usage to screen at intervals + --printPathWarnings print warnings on duplicate target paths etc. --renderToDisk render to Destination path (default is render to memory & serve from there) --templateMetrics display metrics about template executions --templateMetricsHints calculate some improvement hints when combined with --templateMetrics