info: -e and -W operate on database only (repos not needed)

.. so do not load them.
cute-signatures
Timo Teräs 2011-12-24 15:52:35 +02:00
parent d80536b750
commit 415e41a072
1 changed files with 2 additions and 0 deletions

View File

@ -391,9 +391,11 @@ static int info_parse(void *ctx, struct apk_db_options *dbopts,
switch (optch) {
case 'e':
ictx->action = info_exists;
dbopts->open_flags |= APK_OPENF_NO_REPOS;
break;
case 'W':
ictx->action = info_who_owns;
dbopts->open_flags |= APK_OPENF_NO_REPOS;
break;
case 'w':
ictx->subaction_mask |= APK_INFO_URL;