summaryrefslogtreecommitdiff
path: root/src/audit.c
diff options
context:
space:
mode:
authorNatanael Copa <ncopa@alpinelinux.org>2009-01-16 09:33:55 +0000
committerNatanael Copa <ncopa@alpinelinux.org>2009-01-16 09:33:55 +0000
commit50daa05773a66fc94fd459011f51544b8b6e0517 (patch)
treedc9e320fd4e46923f5d8951a7e652d56e8dcec33 /src/audit.c
parentaf6f329fc72bd93d2ac1a07ce6b23e510cf82ea8 (diff)
downloadapk-tools-50daa05773a66fc94fd459011f51544b8b6e0517.tar.gz
apk-tools-50daa05773a66fc94fd459011f51544b8b6e0517.tar.bz2
apk-tools-50daa05773a66fc94fd459011f51544b8b6e0517.tar.xz
apk-tools-50daa05773a66fc94fd459011f51544b8b6e0517.zip
info: only show package desc when --verbose
also introduce apk_verbosity. --quiet reduce verbosity and --verbose increases it. Default verbosity is 1.
Diffstat (limited to 'src/audit.c')
-rw-r--r--src/audit.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/audit.c b/src/audit.c
index f04b14a..c080f2f 100644
--- a/src/audit.c
+++ b/src/audit.c
@@ -75,7 +75,7 @@ static int audit_directory(apk_hash_item item, void *ctx)
reason = 'F';
}
}
- if (apk_quiet)
+ if (apk_verbosity < 1)
printf("%s\n", tmp);
else
printf("%c %s\n", reason, tmp);