Title: Incorrect docs for optparse OptionParser add_help_option
Type: Stage:
Components: Documentation Versions:
Status: closed Resolution: fixed
Dependencies: Superseder:
Assigned To: Nosy List: forest, georg.brandl
Priority: normal Keywords:

Created on 2007-06-23 18:16 by forest, last changed 2007-08-23 21:48 by georg.brandl. This issue is now closed.

Messages (2)
msg32384 - (view) Author: Forest (forest) Date: 2007-06-23 18:16

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.
Date User Action Args
2007-08-23 21:48:17georg.brandlsetstatus: open -> closed
resolution: fixed
messages: + msg55226
nosy: + georg.brandl
2007-06-23 18:16:54forestcreate