def parse_args()

in ncrx/netcons-gen.py [0:0]


def parse_args():
    parser = argparse.ArgumentParser(description=__doc__)
    parser.add_argument(
        "--skip", action="store_true", help="Randomly skip sequence numbers"
    )
    parser.add_argument(
        "--reset", action="store_true", help="Randomly reset the sequence to 0 again"
    )
    parser.add_argument(
        "--cont", action="store_true", help="Randomly insert LOG_CONT messages"
    )
    return parser.parse_args()