/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/option.py

  • Committer: Aaron Bentley
  • Date: 2007-02-13 18:58:39 UTC
  • mfrom: (2283 +trunk)
  • mto: (2230.3.47 branch6)
  • mto: This revision was merged to the branch mainline in revision 2290.
  • Revision ID: abentley@panoramicfeedback.com-20070213185839-9cc540a30gtrgq1g
merge bzr.dev

Show diffs side-by-side

added added

removed removed

Lines of Context:
237
237
        :param converter: Callable to invoke with the value name to produce
238
238
            the value.  If not supplied, self.registry.get is used.
239
239
        :param value_switches: If true, each possible value is assigned its
240
 
            own switch.  For example, instead of '--format metaweave',
241
 
            '--metaweave' can be used interchangeably.
 
240
            own switch.  For example, instead of '--format knit',
 
241
            '--knit' can be used interchangeably.
242
242
        """
243
243
        Option.__init__(self, name, help, type=self.convert)
244
244
        self.registry = registry