~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/option.py

  • Committer: Martin Pool
  • Date: 2006-06-20 07:55:43 UTC
  • mfrom: (1798 +trunk)
  • mto: This revision was merged to the branch mainline in revision 1799.
  • Revision ID: mbp@sourcefrog.net-20060620075543-b10f6575d4a4fa32
[merge] bzr.dev

Show diffs side-by-side

added added

removed removed

Lines of Context:
19
19
 
20
20
import re
21
21
 
22
 
import bzrlib.commands
23
 
from bzrlib.trace import warning, mutter
 
22
from bzrlib.trace import warning
24
23
from bzrlib.revisionspec import RevisionSpec
25
24
from bzrlib.errors import BzrCommandError
26
25
 
135
134
        argname -- name of option argument, if any
136
135
        """
137
136
        # TODO: perhaps a subclass that automatically does 
138
 
        # --option, --no-option for reversable booleans
 
137
        # --option, --no-option for reversible booleans
139
138
        self.name = name
140
139
        self.help = help
141
140
        self.type = type