summaryrefslogtreecommitdiff
path: root/src/ver.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/ver.c')
-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 = "<";
}