~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to tools/doc_generate/autodoc_man.py

  • Committer: Ian Clatworthy
  • Date: 2007-08-06 09:13:43 UTC
  • mto: (2674.1.1 ianc-integration)
  • mto: This revision was merged to the branch mainline in revision 2675.
  • Revision ID: ian.clatworthy@internode.on.net-20070806091343-hbod2du095rjrtwz
Fix man page to show plain text, not reStructuredText

Show diffs side-by-side

added added

removed removed

Lines of Context:
28
28
 
29
29
import bzrlib
30
30
import bzrlib.help
 
31
import bzrlib.help_topics
31
32
import bzrlib.commands
32
33
 
33
34
 
103
104
    """Provides long help for each public command"""
104
105
    subsection_header = '.SS "%s"\n' % (cmd._usage())
105
106
    doc = "%s\n" % (cmd.__doc__)
106
 
    doc = cmd.help()
 
107
    doc = bzrlib.help_topics.help_as_plain_text(cmd.help())
107
108
 
108
109
    option_str = ""
109
110
    options = cmd.options()