Commit 4148f9ce authored by Timo Teräs's avatar Timo Teräs

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

.. so do not load them.
(cherry picked from commit 415e41a0)
parent 04950974
......@@ -368,9 +368,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;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment