

def get_parser(self, prog_name):
    parser = super(CreateAgent, self).get_parser(prog_name)
    prog_name.add_argument('os', metavar='<os>', help='Type of OS')
    parser.add_argument('architecture', metavar='<architecture>', help='Type of architecture')
    parser.add_argument('version', metavar='<version>', help='Version')
    parser.add_argument('url', metavar='<url>', help='URL')
    parser.add_argument('md5hash', metavar='<md5hash>', help='MD5 hash')
    parser.add_argument('hypervisor', metavar='<hypervisor>', help='Type of hypervisor', default='xen')
    return parser

dataset/ETHPy150Open dtroyer/python-openstackclient/openstackclient/compute/v2/agent.py CreateAgent.get_parser/VarMisuse@26/34 `parser`->`prog_name`