From b6798ee8676c48f86b0bd8581ea244f4be4ef3fa Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Bj=C3=B8rn=20Erik=20Pedersen?= Date: Tue, 20 Mar 2018 21:13:44 +0100 Subject: Bump some deprecations --- commands/hugo.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'commands/hugo.go') 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()) -- cgit v1.2.3