Output (BATCH ONLY) rather than (DRY RUN) for --only-write-batch.
authorWayne Davison <wayned@samba.org>
Sat, 19 Jan 2008 19:20:42 +0000 (11:20 -0800)
committerWayne Davison <wayned@samba.org>
Sat, 19 Jan 2008 19:20:42 +0000 (11:20 -0800)
main.c

diff --git a/main.c b/main.c
index ba47048..65af80b 100644 (file)
--- a/main.c
+++ b/main.c
@@ -278,7 +278,7 @@ static void output_summary(void)
                rprintf(FINFO, "total size is %s  speedup is %.2f%s\n",
                        human_num(stats.total_size),
                        (double)stats.total_size / (total_written+total_read),
-                       dry_run ? " (DRY RUN)" : "");
+                       write_batch < 0 ? " (BATCH ONLY)" : dry_run ? " (DRY RUN)" : "");
        }
 
        fflush(stdout);