classification
Title: Add non-command help topics to help completion of cmd.Cmd
Type: enhancement Stage:
Components: Library (Lib) Versions: Python 2.7
process
Status: closed Resolution: accepted
Dependencies: Superseder:
Assigned To: Nosy List: flub, georg.brandl
Priority: normal Keywords: patch

Created on 2009-05-10 23:53 by flub, last changed 2010-01-06 18:02 by georg.brandl. This issue is now closed.

Files
File name Uploaded Description Edit
cmd.diff flub, 2009-05-10 23:53
Messages (2)
msg87557 - (view) Author: Floris Bruynooghe (flub) Date: 2009-05-10 23:53
The cmd.Cmd module has a default complete_help() method which will
complete all existing commands (methods starting with "do_").  It would
be useful to complete all exising help topics too by default, i.e. all
methods starting with "help_".

The attached patch does this.
msg97315 - (view) Author: Georg Brandl (georg.brandl) * (Python committer) Date: 2010-01-06 18:02
Thanks for the patch; applied and fixed up a bit in r77332.
History
Date User Action Args
2010-01-06 18:02:33georg.brandlsetstatus: open -> closed

nosy: + georg.brandl
messages: + msg97315

resolution: accepted
2009-05-10 23:53:22flubcreate