bpo-39467: allow user to deprecate CLI arguments by 4383 · Pull Request #18208 · python/cpython (original) (raw)

bpo-39467: allow user to deprecate CLI arguments

Today it's not possible to deprecate CLI arguments designed with argparse, it could be useful to introduce deprecation feature in argparse to allow developers to inform their apps's users when an argument is planed to be removed in the future.

These changes allow developers to deprecate CLI arguments.

https://bugs.python.org/issue39467