Issue 10471: include documentation in python docs and under python -h for other commandline options

Issue10471

Created on 2010-11-20 19:56 by jdan, last changed 2022-04-11 14:57 by admin. This issue is now closed.

Messages (2)
msg121746 - (view) Author: Dan L (jdan) Date: 2010-11-20 19:56
there are options such as 'python -tt -bb' that are undocumented at http://docs.python.org/using/cmdline and that don't show up when you type python -h.   ( Doubling t and b turns tabs or bytes warnings into errors.
) I don't know if they show up or not when you type 'man python', but for windows devs, it'd be best if it were included in the '-h' text excerpt in addition to being in the online docs.  It could also be nice to have an example for the W arg option, e.g. for Wd.
msg121752 - (view) Author: Georg Brandl (georg.brandl) * (Python committer) Date: 2010-11-20 20:14
-tt is documented on the page you link to.  -b and -bb are only available in Python 3, and are documented there: <http://docs.python.org/py3k/using/cmdline>.  -b and -bb also show up in python -h.

In the contrary, -t and -tt have been removed in Python 3 (-tt behavior is default now); you can still give them but they have no effect.

Giving examples for -W option in python -h would be too much verbosity.

All in all, I can't see an issue here.
History
Date User Action Args
2022-04-11 14:57:09adminsetgithub: 54680
2010-11-20 20:14:22georg.brandlsetstatus: open -> closed

nosy: + georg.brandl
messages: + msg121752

resolution: works for me

2010-11-20 19:56:45jdancreate