bin/xbps-uchroot: stop option parsing at the first nonoption argument
This commit is contained in:
parent
2a6e805bb4
commit
948ba8d7d1
@ -281,7 +281,7 @@ main(int argc, char **argv)
|
||||
tmpfs_opts = chrootdir = cmd = NULL;
|
||||
argv0 = argv[0];
|
||||
|
||||
while ((c = getopt_long(argc, argv, "Oto:b:V", longopts, NULL)) != -1) {
|
||||
while ((c = getopt_long(argc, argv, "+Oto:b:V", longopts, NULL)) != -1) {
|
||||
switch (c) {
|
||||
case 'O':
|
||||
overlayfs = true;
|
||||
|
Loading…
Reference in New Issue
Block a user