@@ -153,10 +153,21 @@ return (OFSeekableStream *)[OFIRIHandler openItemAtIRI: IRI mode: @"r"]; } - (void)listFiles { + if (app->_outputLevel >= 1 && _archive.archiveComment != nil) { + [OFStdOut writeLine: OF_LOCALIZED( + @"list_archive_comment", + @"Archive comment:")]; + [OFStdOut writeString: @"\t"]; + [OFStdOut writeLine: [_archive.archiveComment + stringByReplacingOccurrencesOfString: @"\n" + withString: @"\n\t"]]; + [OFStdOut writeLine: @""]; + } + for (OFZIPArchiveEntry *entry in _archive.entries) { void *pool = objc_autoreleasePoolPush(); [OFStdOut writeLine: entry.fileName];