Issue 5991: Add non-command help topics to help completion of cmd.Cmd (original) (raw)

Issue5991

Created on 2009-05-10 23:53 by flub, last changed 2022-04-11 14:56 by admin. 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
2022-04-11 14:56:48 admin set github: 50241
2010-01-06 18:02:33 georg.brandl set status: open -> closednosy: + georg.brandlmessages: + resolution: accepted
2009-05-10 23:53:22 flub create