summaryrefslogtreecommitdiffstats
path: root/commands
diff options
context:
space:
mode:
authorBjørn Erik Pedersen <bjorn.erik.pedersen@gmail.com>2018-03-20 21:13:44 +0100
committerBjørn Erik Pedersen <bjorn.erik.pedersen@gmail.com>2018-03-20 21:13:44 +0100
commitb6798ee8676c48f86b0bd8581ea244f4be4ef3fa (patch)
tree249921c3d7c79a1692e0c36c924c771561e8999a /commands
parent84f4b731d23bbcb1821eed46958bf73476f00543 (diff)
Bump some deprecations
Diffstat (limited to 'commands')
-rw-r--r--commands/hugo.go4
1 files changed, 2 insertions, 2 deletions
diff --git a/commands/hugo.go b/commands/hugo.go
index 769fb37ee..60244b099 100644
--- a/commands/hugo.go
+++ b/commands/hugo.go
@@ -516,8 +516,8 @@ func (c *commandeer) setValueFromFlag(flags *flag.FlagSet, key string) {
if _, deprecated := deprecatedFlags[strings.ToLower(key)]; deprecated {
msg := fmt.Sprintf(`Set "%s = true" in your config.toml.
If you need to set this configuration value from the command line, set it via an OS environment variable: "HUGO_%s=true hugo"`, key, strings.ToUpper(key))
- // Remove in Hugo 0.37
- helpers.Deprecated("hugo", "--"+key+" flag", msg, false)
+ // Remove in Hugo 0.38
+ helpers.Deprecated("hugo", "--"+key+" flag", msg, true)
}
f := flags.Lookup(key)
c.Set(key, f.Value.String())