I am called with any leftover arguments which were not options. Override me to do something with the remaining arguments on the command line, those which were not flags or options. e.g. interpret them as a list of files to operate on. Note that if there mor
(self)
| 288 | """ |
| 289 | |
| 290 | def parseArgs(self): |
| 291 | """ |
| 292 | I am called with any leftover arguments which were not options. |
| 293 | |
| 294 | Override me to do something with the remaining arguments on |
| 295 | the command line, those which were not flags or options. e.g. |
| 296 | interpret them as a list of files to operate on. |
| 297 | |
| 298 | Note that if there more arguments on the command line |
| 299 | than this method accepts, parseArgs will blow up with |
| 300 | a getopt.error. This means if you don't override me, |
| 301 | parseArgs will blow up if I am passed any arguments at |
| 302 | all! |
| 303 | """ |
| 304 | |
| 305 | def _generic_flag(self, flagName, value=None): |
| 306 | if value not in ("", None): |