~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/commands.py

  • Committer: Robert Collins
  • Date: 2007-04-20 05:39:19 UTC
  • mto: This revision was merged to the branch mainline in revision 2441.
  • Revision ID: robertc@robertcollins.net-20070420053919-edekarog2f6qvyzx
Add a get_help_topic method to commands.Command.

Show diffs side-by-side

added added

removed removed

Lines of Context:
296
296
            result += '\n'
297
297
        return result
298
298
 
 
299
    def get_help_topic(self):
 
300
        """Return the commands help topic - its name."""
 
301
        return self.name()
 
302
 
299
303
    def get_see_also(self, additional_terms=None):
300
304
        """Return a list of help topics that are related to this ommand.
301
305