diff options
author | Lasse Collin <lasse.collin@tukaani.org> | 2012-05-27 21:53:20 +0300 |
---|---|---|
committer | Lasse Collin <lasse.collin@tukaani.org> | 2012-05-29 12:54:22 +0300 |
commit | 2f90345e13ab8fea4de45a4f1caa73ebc63a62e7 (patch) | |
tree | e01f9007a3b0ab83e1f8b43875e6d223f32c4e37 /src/xz/message.c | |
parent | Update THANKS. (diff) | |
download | xz-2f90345e13ab8fea4de45a4f1caa73ebc63a62e7.tar.xz |
xz: Fix output of verbose --robot --list modes.
It printed the filename in "filename (x/y)" format
which it obviously shouldn't do in robot mode.
Diffstat (limited to '')
-rw-r--r-- | src/xz/message.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/xz/message.c b/src/xz/message.c index 80c86a49..d9b7d239 100644 --- a/src/xz/message.c +++ b/src/xz/message.c @@ -211,7 +211,7 @@ message_set_files(unsigned int files) static void print_filename(void) { - if (files_total != 1 || filename != stdin_filename) { + if (!opt_robot && (files_total != 1 || filename != stdin_filename)) { signals_block(); FILE *file = opt_mode == MODE_LIST ? stdout : stderr; |