Ejemplo n.º 1
0
def __reprocess_options__(parser, options):
    tdbparse.__reprocess_options__(parser, options)
    if options.journals: return
    if not options.fields: parser.error('no field(s) specified')
    for fd in options.fields.split(','):
        if tdbq.str_to_lambda_au(fd) is None: parser.error('invalid field name: %s' % (fd,))
    if options.warnings and options.style not in [TdboutConstants.OPTION_STYLE_CSV]: parser.error('-%s requires -%s %s' % (TdboutConstants.OPTION_WARNINGS_SHORT, TdboutConstants.OPTION_STYLE_SHORT, TdboutConstants.OPTION_STYLE_CSV))
Ejemplo n.º 2
0
def __reprocess_options__(parser, options):
    tdbparse.__reprocess_options__(parser, options)