mongotail/err.py
def error(msg, exit_code):
    """
    Print `msg` error and exit with status `exit_code`
    """
    sys.stderr.write("%s\ntry 'mongotail --help' for more information\n" % msg)
    sys.stderr.flush()
    exit(exit_code)
def error(msg, exit_code):
    """
    Print `msg` error and exit with status `exit_code`
    """
    sys.stderr.write("%s\ntry 'mongotail --help' for more information\n" % msg)
    sys.stderr.flush()
    exit(exit_code)
Print `msg` error and exit with status `exit_code`