ver: show all versions if package name specified

fixes #1116
cute-signatures
Timo Teräs 2012-04-27 08:39:33 +03:00
parent ff83382e21
commit 06323b3778
1 changed files with 1 additions and 1 deletions

View File

@ -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 = "<";
}