apk: fix --root/-p option
parent
33cb598bdf
commit
d8837aa6f4
|
@ -142,7 +142,7 @@ int main(int argc, char **argv)
|
||||||
while ((r = getopt_long(argc, argv, short_options,
|
while ((r = getopt_long(argc, argv, short_options,
|
||||||
generic_options, &optindex)) != -1) {
|
generic_options, &optindex)) != -1) {
|
||||||
switch (r) {
|
switch (r) {
|
||||||
case 'Q':
|
case 'p':
|
||||||
apk_root = optarg;
|
apk_root = optarg;
|
||||||
break;
|
break;
|
||||||
case 'X':
|
case 'X':
|
||||||
|
|
Loading…
Reference in New Issue