diff --git a/src/flake8/options/manager.py b/src/flake8/options/manager.py index def4c96..13c7969 100644 --- a/src/flake8/options/manager.py +++ b/src/flake8/options/manager.py @@ -205,7 +205,8 @@ class Option(object): LOG.warning( "option %s: please update from optparse string `type=` to " "argparse callable `type=` -- this will be an error in the " - "future" + "future", + long_option_name, ) type = _optparse_callable_map[type]