~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/help.py

  • Committer: Aaron Bentley
  • Date: 2005-10-28 02:34:22 UTC
  • mto: (1185.35.8)
  • mto: This revision was merged to the branch mainline in revision 1491.
  • Revision ID: aaron.bentley@utoronto.ca-20051028023422-f4c0b704edd5f79d
Restored short options in help

Show diffs side-by-side

added added

removed removed

Lines of Context:
131
131
        short_name = option.short_name()
132
132
        if short_name:
133
133
            assert len(short_name) == 1
134
 
            l += ', -' + shortname
 
134
            l += ', -' + short_name
135
135
        l += (30 - len(l)) * ' ' + option.help
136
136
        # TODO: split help over multiple lines with correct indenting and 
137
137
        # wrapping