~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/commands.py

  • Committer: Canonical.com Patch Queue Manager
  • Date: 2009-06-19 11:01:17 UTC
  • mfrom: (4070.11.16 249908-doc-generate)
  • Revision ID: pqm@pqm.ubuntu.com-20090619110117-rhph89w2k9gavp24
(mbp) various tweaks to doc generation

Show diffs side-by-side

added added

removed removed

Lines of Context:
452
452
        result += '\n'
453
453
 
454
454
        # Add the options
 
455
        #
 
456
        # XXX: optparse implicitly rewraps the help, and not always perfectly,
 
457
        # so we get <https://bugs.launchpad.net/bzr/+bug/249908>.  -- mbp
 
458
        # 20090319
455
459
        options = option.get_optparser(self.options()).format_option_help()
456
460
        if options.startswith('Options:'):
457
461
            result += ':' + options