~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/help_topics.py

  • Committer: Alexander Belchenko
  • Date: 2007-01-04 23:36:44 UTC
  • mfrom: (2224 +trunk)
  • mto: This revision was merged to the branch mainline in revision 2225.
  • Revision ID: bialix@ukr.net-20070104233644-7znkxoj9b0y7ev28
merge bzr.dev

Show diffs side-by-side

added added

removed removed

Lines of Context:
132
132
                        "Explain how to use --revision")
133
133
topic_registry.register('basic', _basic_help, "Basic commands")
134
134
topic_registry.register('topics', _help_on_topics, "Topics list")
 
135
def get_format_topic(topic):
 
136
    from bzrlib import bzrdir
 
137
    return bzrdir.format_registry.help_topic(topic)
 
138
topic_registry.register('formats', get_format_topic, 'Directory formats')