From: Wayne Davison Date: Sun, 6 Jul 2003 18:29:24 +0000 (+0000) Subject: Improve the format of the --iterations output. X-Git-Url: https://mattmccutchen.net/rsync/rsync.git/commitdiff_plain/b6b42c892ca754fa99a4fb44d78bab2910fc8b08 Improve the format of the --iterations output. --- diff --git a/wildtest.c b/wildtest.c index b5820993..3c40e4ae 100644 --- a/wildtest.c +++ b/wildtest.c @@ -59,8 +59,10 @@ run_test(int line, bool matches, bool same_as_fnmatch, fnmatch_errors++; } #endif - if (output_iterations) - printf("[%s] iterations = %d\n", pattern, wildmatch_iteration_count); + if (output_iterations) { + printf("%d: \"%s\" iterations = %d\n", line, pattern, + wildmatch_iteration_count); + } } int