diff options
| -rw-r--r-- | usr.sbin/pkg/pkg.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/usr.sbin/pkg/pkg.c b/usr.sbin/pkg/pkg.c index b62eecfc6dce..7899fbaeaf09 100644 --- a/usr.sbin/pkg/pkg.c +++ b/usr.sbin/pkg/pkg.c @@ -1164,7 +1164,7 @@ main(int argc, char *argv[]) { "yes", no_argument, NULL, 'y' }, { NULL, 0, NULL, 0 }, }; - while ((ch = getopt_long(argc, argv, "+y", + while ((ch = getopt_long(argc, argv, "+:y", sub_longopts, NULL)) != -1) { switch (ch) { case 'y': |
