From 43a2c7880d0dfe08b9319f29f746190e5a8b3683 Mon Sep 17 00:00:00 2001 From: William Pitcock Date: Fri, 20 Jul 2012 17:12:06 -0500 Subject: [PATCH] main: use pkg_getopt_long_only(). --- main.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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) {