diff options
Diffstat (limited to 'src/alf.c')
| -rw-r--r-- | src/alf.c | 10 |
1 files changed, 6 insertions, 4 deletions
@@ -354,10 +354,12 @@ int main(int argc, char **argv) { if(out_file) fclose(out_file); if(opt_verbose > 1) { - printf("Compressed %d file%s: ", file_count, file_count == 1 ? "" : "s"); - printf("%u/%u (%d%%)\n", - total_in, total_out, - percent(total_out, total_in)); + if(file_count > 1) { + printf("Compressed %d file%s: ", file_count, file_count == 1 ? "" : "s"); + printf("%u/%u (%d%%)\n", + total_in, total_out, + percent(total_out, total_in)); + } print_elapsed_time(); if(backup_msg) { printf("Backed up old '%s' to '%s~'.\n", out_filename, out_filename); |
