/brz/remove-bazaar

To get this branch, use:
bzr branch http://gegoxaren.bato24.eu/bzr/brz/remove-bazaar

« back to all changes in this revision

Viewing changes to tools/doc_generate/autodoc_man.py

  • Committer: Martin Pool
  • Date: 2009-03-19 03:58:36 UTC
  • mto: (4070.11.9 249908-doc-generate)
  • mto: This revision was merged to the branch mainline in revision 4464.
  • Revision ID: mbp@sourcefrog.net-20090319035836-c7jgh5weino3r5qn
Ask textwrap not to break long words or on hyphens

Show diffs side-by-side

added added

removed removed

Lines of Context:
127
127
                    l += ', -' + short_name
128
128
                l += (30 - len(l)) * ' ' + (help or '')
129
129
                wrapped = textwrap.fill(l, initial_indent='',
130
 
                                        subsequent_indent=30*' ')
 
130
                    subsequent_indent=30*' ',
 
131
                    break_long_words=False,
 
132
                    break_on_hyphens=False)
131
133
                option_str = option_str + wrapped + '\n'       
132
134
 
133
135
    aliases_str = ""