Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/gohugoio/hugo.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBjørn Erik Pedersen <bjorn.erik.pedersen@gmail.com>2022-02-15 15:03:36 +0300
committerBjørn Erik Pedersen <bjorn.erik.pedersen@gmail.com>2022-02-15 15:03:36 +0300
commit837fdfdf45014e3d5ef3b00b01548b68a4489c5f (patch)
tree8711ad6408202a6cbf6b34a5efb7b5aeb868d730 /commands/hugo.go
parent6819feab6c21f226c50705a61dd2eee8c6c564ea (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.go4
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)
}