def METHOD_NAME():
    parser = argparse.ArgumentParser(description='Checks words against PostgreSQL database containing Serbian word corpus.')
    parser.add_argument('-c', '--config-file',   default=None)
    parser.add_argument('-d', '--debug',         action ='store_true', default=False)
    parser.add_argument('-i', '--input-file',    default=None)
    parser.add_argument('-n', '--first-n-lines', default=0, type=int)
    parser.add_argument('-o', '--output-dir',    default='/tmp')
    global _args_, _logger_
    _args_ = parser.METHOD_NAME()
    if _args_.debug:
        _logger_.setLevel( logging.DEBUG )
    else:
        _logger_.setLevel( logging.INFO )
    _logger_.debug( "Command-line arguments: {}".format(_args_) )
    if not _args_.input_file:
        _logger_.error("Input file (-i) was not specified, aborting ...")
        sys.exit(1)
    if not os.path.exists(_args_.input_file):
        _logger_.error("Unable to open input file '{}', aborting ...".format(_args_.input_file))
        sys.exit(1)
    if not _args_.config_file:
        _logger_.error("Configuration file (-c) was not specified, aborting ...")
        sys.exit(2)