From: Wayne Davison Date: Sat, 19 Jan 2008 19:20:42 +0000 (-0800) Subject: Output (BATCH ONLY) rather than (DRY RUN) for --only-write-batch. X-Git-Url: https://mattmccutchen.net/rsync/rsync.git/commitdiff_plain/641dc0c51e7c1196f160d8a76ba7f9c441bbc7ef Output (BATCH ONLY) rather than (DRY RUN) for --only-write-batch. --- diff --git a/main.c b/main.c index ba470481..65af80b9 100644 --- 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);