

def get_parser(self, prog_name):
    parser = super(CreateMapping, self).get_parser(prog_name)
    parser.add_argument('mapping', metavar='<name>', help='New mapping name (must be unique)')
    parser.add_argument('--rules', metavar='<filename>', required=True, help='Filename that contains a set of mapping rules (required)')
    return parser

dataset/ETHPy150Open dtroyer/python-openstackclient/openstackclient/identity/v3/mapping.py CreateMapping.get_parser/original