/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 bzrlib/commands.py

  • Committer: Ian Clatworthy
  • Date: 2007-08-07 05:24:34 UTC
  • mto: (2674.1.2 ianc-integration)
  • mto: This revision was merged to the branch mainline in revision 2675.
  • Revision ID: ian.clatworthy@internode.on.net-20070807052434-0ee3s698o4vpk17o
Fix case of Options in help under Python 2.4

Show diffs side-by-side

added added

removed removed

Lines of Context:
308
308
        options = option.get_optparser(self.options()).format_option_help()
309
309
        if options.startswith('Options:'):
310
310
            result += ':' + options
 
311
        elif options.startswith('options:'):
 
312
            # Python 2.4 version of optparse
 
313
            result += ':Options:' + options[len('options:'):]
311
314
        else:
312
315
            result += options
313
316
        result += '\n'