

def parse_args(self):
    args = super(CommandArgumentParser, self).parse_args()
    if args.help:
        if self.command:
            return super(CommandArgumentParser, self).parse_args([args.command, '--help'])
        else:
            self.print_help()
            self.exit()
    elif (not args.command):
        self.error(('the following arguments are required: COMMAND (choose from %s)' % ', '.join(map(repr, self.commands.choices))))
    return args

dataset/ETHPy150Open ionelmc/pytest-benchmark/src/pytest_benchmark/cli.py CommandArgumentParser.parse_args/VarMisuse@31/37 `args`->`self`