Commit 3d5b7736 authored by Robert Ricci's avatar Robert Ricci

Fixed a dumb off-by-one error created by using getopt()

parent 77457c12
......@@ -66,7 +66,7 @@ main(int argc, char **argv)
}
argc -= optind;
if (argc < 2 || argc > 4) {
if (argc < 1 || argc > 3) {
usage();
}
argv += optind;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment