Raised if an invalid option is seen on the command line.
| 122 | """ |
| 123 | |
| 124 | class BadOptionError (OptParseError): |
| 125 | """ |
| 126 | Raised if an invalid option is seen on the command line. |
| 127 | """ |
| 128 | def __init__(self, opt_str): |
| 129 | self.opt_str = opt_str |
| 130 | |
| 131 | def __str__(self): |
| 132 | return _("no such option: %s") % self.opt_str |
| 133 | |
| 134 | class AmbiguousOptionError (BadOptionError): |
| 135 | """ |
no outgoing calls
no test coverage detected
searching dependent graphs…