diff --git a/main.cpp b/main.cpp index f662156..a32d17b 100644 --- a/main.cpp +++ b/main.cpp @@ -29,7 +29,7 @@ int main(int argc, char **argv) int tcount = 0; int maxiter = 0; - while ((c = getopt(argc, argv, "t::i::")) != -1) { + while ((c = getopt(argc, argv, "t:i:")) != -1) { switch (c) { case 't': targ = optarg;