Don't print the archive name with -p and -q options.

PR:		bin/141280
Approved by:	des, trasz (mentor)
This commit is contained in:
Jaakko Heinonen 2009-12-22 15:13:16 +00:00
parent a13f319046
commit a49365ac09
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=200844

View File

@ -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");