summaryrefslogtreecommitdiffstats
path: root/commands/hugo.go
diff options
context:
space:
mode:
authorBjørn Erik Pedersen <bjorn.erik.pedersen@gmail.com>2022-02-15 12:57:49 +0100
committerBjørn Erik Pedersen <bjorn.erik.pedersen@gmail.com>2022-02-15 13:00:06 +0100
commit6819feab6c21f226c50705a61dd2eee8c6c564ea (patch)
tree91cef9b7a12b15758bce661786c305889203b7f8 /commands/hugo.go
parentea54a99ca5c4ed9e66574553f6c057fb83d0aca3 (diff)
commands: Rename --path-warnings, --print-men to --printPathWarnings, --printMemoryUsage
To get it in line with the others.
Diffstat (limited to 'commands/hugo.go')
-rw-r--r--commands/hugo.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/commands/hugo.go b/commands/hugo.go
index 7bfd1443a..1eac05ea1 100644
--- a/commands/hugo.go
+++ b/commands/hugo.go
@@ -244,7 +244,7 @@ func initializeFlags(cmd *cobra.Command, cfg config.Provider) {
// Set some "config aliases"
setValueFromFlag(cmd.Flags(), "destination", cfg, "publishDir", false)
setValueFromFlag(cmd.Flags(), "i18n-warnings", cfg, "logI18nWarnings", false)
- setValueFromFlag(cmd.Flags(), "path-warnings", cfg, "logPathWarnings", false)
+ setValueFromFlag(cmd.Flags(), "printPathWarnings", cfg, "logPathWarnings", false)
}
func setValueFromFlag(flags *flag.FlagSet, key string, cfg config.Provider, targetKey string, force bool) {