Commit 415e41a0 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.
parent d80536b7
......@@ -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;
......
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