summaryrefslogtreecommitdiffstats
path: root/usr.bin/unzip/unzip.c
diff options
context:
space:
mode:
Diffstat (limited to 'usr.bin/unzip/unzip.c')
-rw-r--r--usr.bin/unzip/unzip.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/usr.bin/unzip/unzip.c b/usr.bin/unzip/unzip.c
index f0856a4..e5984ba 100644
--- a/usr.bin/unzip/unzip.c
+++ b/usr.bin/unzip/unzip.c
@@ -814,7 +814,8 @@ unzip(const char *fn)
ac(archive_read_support_format_zip(a));
ac(archive_read_open_fd(a, fd, 8192));
- printf("Archive: %s\n", fn);
+ if (!p_opt && !q_opt)
+ printf("Archive: %s\n", fn);
if (v_opt == 1) {
printf(" Length Date Time Name\n");
printf(" -------- ---- ---- ----\n");
OpenPOWER on IntegriCloud