Commit 04950974 authored by Timo Teräs's avatar Timo Teräs

ver: database is not needed for version string checking and tests

parent 6b24f3c3
......@@ -75,9 +75,11 @@ static int ver_parse(void *ctx, struct apk_db_options *dbopts,
break;
case 't':
ictx->action = ver_test;
dbopts->open_flags |= APK_OPENF_NO_STATE | APK_OPENF_NO_REPOS;
break;
case 'c':
ictx->action = ver_validate;
dbopts->open_flags |= APK_OPENF_NO_STATE | APK_OPENF_NO_REPOS;
break;
case 'l':
ictx->limchars = optarg;
......
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