Revert "bin/xbps-uunshare: stop option parsing at the first nonoption argument"
This reverts commit 6cca905d640d80e4216c004feeaedccd09f3a768.
This commit is contained in:
parent
f4060aff6c
commit
449dc8a551
@ -136,7 +136,7 @@ main(int argc, char **argv)
|
|||||||
chrootdir = cmd = NULL;
|
chrootdir = cmd = NULL;
|
||||||
argv0 = argv[0];
|
argv0 = argv[0];
|
||||||
|
|
||||||
while ((c = getopt_long(argc, argv, "+b:V", longopts, NULL)) != -1) {
|
while ((c = getopt_long(argc, argv, "b:V", longopts, NULL)) != -1) {
|
||||||
switch (c) {
|
switch (c) {
|
||||||
case 'b':
|
case 'b':
|
||||||
if (optarg == NULL || *optarg == '\0')
|
if (optarg == NULL || *optarg == '\0')
|
||||||
|
Loading…
x
Reference in New Issue
Block a user