~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to tools/doc_generate/autodoc_man.py

  • Committer: Andrew Bennetts
  • Date: 2007-04-20 03:00:57 UTC
  • mfrom: (2432 +trunk)
  • mto: This revision was merged to the branch mainline in revision 2435.
  • Revision ID: andrew.bennetts@canonical.com-20070420030057-cg0z7spio1stbtpo
Merge from bzr.dev.

Show diffs side-by-side

added added

removed removed

Lines of Context:
131
131
        aliases_str += ', '.join(cmd.aliases)
132
132
        aliases_str += '\n'
133
133
 
134
 
    return subsection_header + option_str + aliases_str + "\n" + doc + "\n"
 
134
    see_also_str = ""
 
135
    see_also = cmd.get_see_also()
 
136
    if see_also:
 
137
        see_also_str += '\nSee also: '
 
138
        see_also_str += ', '.join(see_also)
 
139
        see_also_str += '\n'
 
140
 
 
141
    return subsection_header + option_str + aliases_str + see_also_str + "\n" + doc + "\n"
135
142
 
136
143
 
137
144
man_preamble = """\