diff options
author | Bjørn Erik Pedersen <bjorn.erik.pedersen@gmail.com> | 2022-02-15 13:03:36 +0100 |
---|---|---|
committer | Bjørn Erik Pedersen <bjorn.erik.pedersen@gmail.com> | 2022-02-15 13:03:36 +0100 |
commit | 837fdfdf45014e3d5ef3b00b01548b68a4489c5f (patch) | |
tree | 8711ad6408202a6cbf6b34a5efb7b5aeb868d730 /commands/hugo.go | |
parent | 6819feab6c21f226c50705a61dd2eee8c6c564ea (diff) |
commands: Rename --i18n-warnings to printI18nWarnings
To get it in line with the others.
Diffstat (limited to 'commands/hugo.go')
-rw-r--r-- | commands/hugo.go | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/commands/hugo.go b/commands/hugo.go index 1eac05ea1..ce3c4ab7b 100644 --- a/commands/hugo.go +++ b/commands/hugo.go @@ -216,7 +216,7 @@ func initializeFlags(cmd *cobra.Command, cfg config.Provider) { "dryRun", "force", "gc", - "i18n-warnings", + "printI18nWarnings", "invalidateCDN", "layoutDir", "logFile", @@ -243,7 +243,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(), "printI18nWarnings", cfg, "logI18nWarnings", false) setValueFromFlag(cmd.Flags(), "printPathWarnings", cfg, "logPathWarnings", false) } |