Issue 1742164: Incorrect docs for optparse OptionParser add_help_option (original) (raw)

Issue1742164

Created on 2007-06-23 18:16 by forest, last changed 2022-04-11 14:56 by admin. This issue is now closed.

Messages (2)
msg32384 - (view) Author: Forest (forest) Date: 2007-06-23 18:16
http://www.python.org/doc/2.5/lib/optparse-creating-parser.html The docs say: "add_help_option (default: True) If true, optparse will add a help option (with option strings "-h" and "-help") to the parser." In fact, it adds option strings "-h" and "--help". Note the additional '-' character as compared to the documentation.
msg55226 - (view) Author: Georg Brandl (georg.brandl) * (Python committer) Date: 2007-08-23 21:48
This is finally fixed with the new sources and toolset.
History
Date User Action Args
2022-04-11 14:56:25 admin set github: 45123
2007-08-23 21:48:17 georg.brandl set status: open -> closedresolution: fixedmessages: + nosy: + georg.brandl
2007-06-23 18:16:54 forest create