diff options
Diffstat (limited to 'SCons/Script/SConsOptions.py')
-rw-r--r-- | SCons/Script/SConsOptions.py | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/SCons/Script/SConsOptions.py b/SCons/Script/SConsOptions.py index 18fe0e4..e8e5cbf 100644 --- a/SCons/Script/SConsOptions.py +++ b/SCons/Script/SConsOptions.py @@ -875,9 +875,9 @@ def Parser(version): def warn_md5_chunksize_deprecated(option, opt, value, parser) -> None: if opt == '--md5-chunksize': - SCons.Warnings.warn(SCons.Warnings.DeprecatedWarning, - "Parameter %s is deprecated. Use " - "--hash-chunksize instead." % opt) + SCons.Warnings.warn(SCons.Warnings.DeprecatedOptionsWarning, + f"Option {opt} is deprecated. " + "Use --hash-chunksize instead.") setattr(parser.values, option.dest, value) |