From 1285302c9d006b1b4951923c3bc2b9d542541bf6 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Bj=C3=B8rn=20Erik=20Pedersen?= Date: Tue, 15 Feb 2022 13:03:36 +0100 Subject: [PATCH] commands: Rename --i18n-warnings to printI18nWarnings To get it in line with the others. --- content/en/commands/hugo.md | 2 +- content/en/commands/hugo_mod.md | 2 +- content/en/commands/hugo_new.md | 2 +- content/en/commands/hugo_server.md | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) diff --git a/content/en/commands/hugo.md b/content/en/commands/hugo.md index 3f459cbda..088a8102f 100644 --- a/content/en/commands/hugo.md +++ b/content/en/commands/hugo.md @@ -40,7 +40,6 @@ hugo [flags] --forceSyncStatic copy all files when static is changed. --gc enable to run some cleanup tasks (remove unused cache files) after the build -h, --help help for hugo - --i18n-warnings print missing translations --ignoreCache ignores the cache directory --ignoreVendorPaths string ignores any _vendor for module paths matching the given Glob pattern -l, --layoutDir string filesystem path to layout directory @@ -51,6 +50,7 @@ hugo [flags] --noTimes don't sync modification time of files --panicOnWarning panic on first WARNING log --poll string set this to a poll interval, e.g --poll 700ms, to use a poll based approach to watch for file system changes + --printI18nWarnings print missing translations --printMemoryUsage print memory usage to screen at intervals --printPathWarnings print warnings on duplicate target paths etc. --quiet build in quiet mode diff --git a/content/en/commands/hugo_mod.md b/content/en/commands/hugo_mod.md index 6f5fdb3c9..b0860f299 100644 --- a/content/en/commands/hugo_mod.md +++ b/content/en/commands/hugo_mod.md @@ -39,7 +39,6 @@ See https://gohugo.io/hugo-modules/ for more information. --forceSyncStatic copy all files when static is changed. --gc enable to run some cleanup tasks (remove unused cache files) after the build -h, --help help for mod - --i18n-warnings print missing translations --ignoreCache ignores the cache directory -l, --layoutDir string filesystem path to layout directory --minify minify any supported output format (HTML, XML etc.) @@ -47,6 +46,7 @@ See https://gohugo.io/hugo-modules/ for more information. --noTimes don't sync modification time of files --panicOnWarning panic on first WARNING log --poll string set this to a poll interval, e.g --poll 700ms, to use a poll based approach to watch for file system changes + --printI18nWarnings print missing translations --printMemoryUsage print memory usage to screen at intervals --printPathWarnings print warnings on duplicate target paths etc. --templateMetrics display metrics about template executions diff --git a/content/en/commands/hugo_new.md b/content/en/commands/hugo_new.md index 25b42820d..e8a7d3b08 100644 --- a/content/en/commands/hugo_new.md +++ b/content/en/commands/hugo_new.md @@ -39,7 +39,6 @@ hugo new [path] [flags] --forceSyncStatic copy all files when static is changed. --gc enable to run some cleanup tasks (remove unused cache files) after the build -h, --help help for new - --i18n-warnings print missing translations --ignoreCache ignores the cache directory -k, --kind string content type to create -l, --layoutDir string filesystem path to layout directory @@ -48,6 +47,7 @@ hugo new [path] [flags] --noTimes don't sync modification time of files --panicOnWarning panic on first WARNING log --poll string set this to a poll interval, e.g --poll 700ms, to use a poll based approach to watch for file system changes + --printI18nWarnings print missing translations --printMemoryUsage print memory usage to screen at intervals --printPathWarnings print warnings on duplicate target paths etc. --templateMetrics display metrics about template executions diff --git a/content/en/commands/hugo_server.md b/content/en/commands/hugo_server.md index f85faf5a8..abdb64a5e 100644 --- a/content/en/commands/hugo_server.md +++ b/content/en/commands/hugo_server.md @@ -47,7 +47,6 @@ hugo server [flags] --forceSyncStatic copy all files when static is changed. --gc enable to run some cleanup tasks (remove unused cache files) after the build -h, --help help for server - --i18n-warnings print missing translations --ignoreCache ignores the cache directory -l, --layoutDir string filesystem path to layout directory --liveReloadPort int port for live reloading (i.e. 443 in HTTPS proxy situations) (default -1) @@ -61,6 +60,7 @@ hugo server [flags] --panicOnWarning panic on first WARNING log --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) + --printI18nWarnings print missing translations --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)