[issue22240] argparse support for "python -m module" in help

Nils Kattenbeck report at bugs.python.org
Sun Jul 18 19:07:52 EDT 2021


Nils Kattenbeck <nilskemail at gmail.com> added the comment:

I am not sure if the patch correctly handles calling a nested module (e.g. `python3 -m serial.tools.miniterm`). Would it also be possible to detect if python or python3 was used for the invocation?

----------
nosy: +Nils Kattenbeck

_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue22240>
_______________________________________


More information about the Python-bugs-list mailing list