def parse_options(self, prog_name, arguments):
        # Don't want to load configuration to just print the version,
        # so we handle --version manually here.
        if '--version' in arguments:
            self.exit_status(self.version, fh=sys.stdout)
        parser = self.create_parser(prog_name)
        options, args = parser.parse_args(arguments)
        return options, args
Parse the available options.
dataset/ETHPy150Open celery/cell/cell/bin/base.py/Command.parse_options