~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/doc_generate/autodoc_man.py

  • Committer: Jelmer Vernooij
  • Date: 2012-03-15 15:36:12 UTC
  • mto: This revision was merged to the branch mainline in revision 6509.
  • Revision ID: jelmer@samba.org-20120315153612-0f69zshzykcb1amf
Use tuples for known env variables list.

Show diffs side-by-side

added added

removed removed

Lines of Context:
161
161
    yield ".SH \"ENVIRONMENT\"\n"
162
162
 
163
163
    from bzrlib.help_topics import known_env_variables
164
 
    for k in sorted(known_env_variables.keys()):
165
 
        desc = known_env_variables[k]
 
164
    for k, desc in known_env_variables:
166
165
        yield ".TP\n"
167
166
        yield ".I \"%s\"\n" % k
168
167
        yield man_escape(desc) + "\n"