This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author tarek
Recipients herzbube, tarek
Date 2009-09-15.22:16:58
SpamBayes Score 1.0110535e-06
Marked as misclassified No
Message-id <1253053020.87.0.476724672667.issue6860@psf.upfronthosting.co.za>
In-reply-to
Content
Right, thanks for noticing this.

Here's the change I am going to make:

The code will use command.get_command_name() *everywhere* for the help 
display.

This method implemented in Command does the following:

- if the attribute "command_name" is present, it is returned
- __class__.__name__ ortherwise.

Meaning that you can define the name you want in the class.

Notice that this is under-documented so I need to add some document
for that behavior/feature.

I will not push this change in 2.7 since I don't consider this as a 
bug.
History
Date User Action Args
2009-09-15 22:17:01tareksetrecipients: + tarek, herzbube
2009-09-15 22:17:00tareksetmessageid: <1253053020.87.0.476724672667.issue6860@psf.upfronthosting.co.za>
2009-09-15 22:16:59tareklinkissue6860 messages
2009-09-15 22:16:59tarekcreate