def DisParam()

in parse_copybook_to_json.py [0:0]


def DisParam(arg):
    desc = {
        '-copybook'    : '* Copybook file name',
        '-output'      : '* Parsed copybook (JSON List)',
        '-ebcdic'      : 'EBCDIC file (to be converted)',
        '-ascii'       : 'ASCII output',
        '-keylen'      : 'Length of the key',
        '-keyname'     : 'Name of the key (for ddb)',
        '-output-type' : 'Output resource type (file, ddb or sqs)',
        '-req-size'    : 'Itens sent per request',
        '-print'       : 'Display after',
        '-dict'        : 'Generate dict json file',
        }

    for a in arg:
        if a in desc:
            print(a.ljust(12, ' '), ' | ', desc[a].ljust(40, ' '), '|', arg[a])
        else:
            print(a.ljust(12, ' '), ' | ', '>>>Unknown argument<<<'.ljust(40, ' '), '|', arg[a])