diff --git a/main.c b/main.c index c0b5ab7..40f47d8 100644 --- a/main.c +++ b/main.c @@ -512,7 +512,7 @@ main(int argc, char *argv[]) { NULL, 0, NULL, 0 } }; - while ((ret = pkg_getopt_long(argc, argv, "", options, NULL)) != -1) + while ((ret = pkg_getopt_long_only(argc, argv, "", options, NULL)) != -1) { switch (ret) {