mirror of
https://github.com/gohugoio/hugo.git
synced 2025-04-29 07:00:31 +03:00
commands: Rename --i18n-warnings to printI18nWarnings
To get it in line with the others.
This commit is contained in:
parent
6819feab6c
commit
837fdfdf45
7 changed files with 9 additions and 9 deletions
|
@ -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)
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue