main: use pkg_getopt_long_only().

feature/tap-sh
William Pitcock 2012-07-20 17:12:06 -05:00
parent 81fa40f9b6
commit 43a2c7880d
1 changed files with 1 additions and 1 deletions

2
main.c
View File

@ -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)
{