'Overrides OptionParser._process_args to exclusively handle default
options and ignore args and other options.
This overrides the behavior of the super class, which stop parsing
at the first unrecognized option.'

def _process_args(self, largs, rargs, values):

    while rargs:
        arg = rargs[0]
        try:
            if ((arg[0:2] == '--') and (len(arg) > 2)):
                self._process_long_opt(rargs, values)
            elif ((arg[:1] == '-') and (len(arg) > 1)):
                self._process_short_opts(rargs, values)
            else:
                del rargs[0]
                raise Exception
        except:
            largs.append(arg)
