def main():
    parser = argparse.ArgumentParser()
    parser.add_argument('-f', '--file_name', default='test.txt', required=True, help='The text file to analyze.', type=str)
    parser.add_argument('-d', '--display', default=False, help='display the output into a text file use True/False to specify', type=bool)
    args = parser.parse_args()
    t1_start = time.perf_counter()
    t2_start = time.process_time()
    run(args.file_name, args.display)
    t1_stop = time.perf_counter()
    t2_stop = time.process_time()
    show_process_time(t1_start, t1_stop, t2_start, t2_stop)
    return 0
def main():
    parser = argparse.ArgumentParser()
    parser.add_argument('-f', '--file_name', default='test.txt', required=True, help='The text file to analyze.', type=str)
    parser.add_argument('-d', '--display', default=False, help='display the output into a text file use True/False to specify', type=bool)
    args = parser.parse_args()
    t1_start = time.perf_counter()
    t2_start = time.process_time()
    run(args.file_name, args.display)
    t1_stop = time.perf_counter()
    t2_stop = time.process_time()
    show_process_time(t1_start, t1_stop, t2_start, t2_stop)
    return 0