summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNatanael Copa <ncopa@alpinelinux.org>2012-05-07 10:53:45 +0200
committerNatanael Copa <ncopa@alpinelinux.org>2012-05-07 10:53:45 +0200
commita6b28beef055c9c454fba49d02995765e6f3aeab (patch)
tree529cd773d2074feed1256aca4cf440f515f452a2
parent08595072ae2156a399253d34b41748da99e84bfc (diff)
downloadapk-tools-a6b28beef055c9c454fba49d02995765e6f3aeab.tar.gz
apk-tools-a6b28beef055c9c454fba49d02995765e6f3aeab.tar.bz2
apk-tools-a6b28beef055c9c454fba49d02995765e6f3aeab.tar.xz
apk-tools-a6b28beef055c9c454fba49d02995765e6f3aeab.zip
ver: show all packages with -v
ref #1122
-rw-r--r--src/ver.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/ver.c b/src/ver.c
index 05ffce9..c20547a 100644
--- a/src/ver.c
+++ b/src/ver.c
@@ -161,7 +161,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 if (argc == 0) {
+ } else if (argc == 0 && apk_verbosity == 1) {
ictx->limchars = "<";
}