commands: Rename --path-warnings, --print-men to --printPathWarnings, --printMemoryUsage

To get it in line with the others.
This commit is contained in:
Bjørn Erik Pedersen
2022-02-15 12:57:49 +01:00
parent ea54a99ca5
commit 6819feab6c
7 changed files with 13 additions and 13 deletions

View File

@@ -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