~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/option.py

  • Committer: Aaron Bentley
  • Date: 2006-08-04 02:15:05 UTC
  • mto: This revision was merged to the branch mainline in revision 1934.
  • Revision ID: aaron.bentley@utoronto.ca-20060804021505-46573376ef248609
Add tests for generating an option parser

Show diffs side-by-side

added added

removed removed

Lines of Context:
235
235
            argname = argname.upper()
236
236
        yield self.name, self.short_name(), argname, self.help
237
237
 
 
238
 
238
239
class OptionParser(optparse.OptionParser):
239
240
    """OptionParser that raises exceptions instead of exiting"""
240
241