Commit 06323b37 authored by Timo Teräs's avatar Timo Teräs

ver: show all versions if package name specified

fixes #1116
parent ff83382e
......@@ -156,7 +156,7 @@ static int ver_main(void *ctx, struct apk_database *db, int argc, char **argv)
if (ictx->limchars) {
if (strlen(ictx->limchars) == 0)
ictx->limchars = NULL;
} else {
} else if (argc == 0) {
ictx->limchars = "<";
}
......
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