info: -e and -W operate on database only (repos not needed)
.. so do not load them.cute-signatures
parent
d80536b750
commit
415e41a072
|
@ -391,9 +391,11 @@ static int info_parse(void *ctx, struct apk_db_options *dbopts,
|
||||||
switch (optch) {
|
switch (optch) {
|
||||||
case 'e':
|
case 'e':
|
||||||
ictx->action = info_exists;
|
ictx->action = info_exists;
|
||||||
|
dbopts->open_flags |= APK_OPENF_NO_REPOS;
|
||||||
break;
|
break;
|
||||||
case 'W':
|
case 'W':
|
||||||
ictx->action = info_who_owns;
|
ictx->action = info_who_owns;
|
||||||
|
dbopts->open_flags |= APK_OPENF_NO_REPOS;
|
||||||
break;
|
break;
|
||||||
case 'w':
|
case 'w':
|
||||||
ictx->subaction_mask |= APK_INFO_URL;
|
ictx->subaction_mask |= APK_INFO_URL;
|
||||||
|
|
Loading…
Reference in New Issue