diff options
author | Timo Teräs <timo.teras@iki.fi> | 2012-04-27 08:39:33 +0300 |
---|---|---|
committer | Timo Teräs <timo.teras@iki.fi> | 2012-04-27 08:39:33 +0300 |
commit | 06323b3778418f923bd839850c5a10f2463c02b3 (patch) | |
tree | 08eb9d486c1db8127a67be9e74159635261104be | |
parent | ff83382e214a36f39953c6740a62e9e2849cf87f (diff) | |
download | apk-tools-06323b3778418f923bd839850c5a10f2463c02b3.tar.gz apk-tools-06323b3778418f923bd839850c5a10f2463c02b3.tar.bz2 apk-tools-06323b3778418f923bd839850c5a10f2463c02b3.tar.xz apk-tools-06323b3778418f923bd839850c5a10f2463c02b3.zip |
ver: show all versions if package name specified
fixes #1116
-rw-r--r-- | src/ver.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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 = "<"; } |