Matt McCutchen's Web Site
/
rsync
/
rsync.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
69e2b4e
)
Output (BATCH ONLY) rather than (DRY RUN) for --only-write-batch.
author
Wayne Davison
<wayned@samba.org>
Sat, 19 Jan 2008 19:20:42 +0000
(11:20 -0800)
committer
Wayne Davison
<wayned@samba.org>
Sat, 19 Jan 2008 19:20:42 +0000
(11:20 -0800)
main.c
patch
|
blob
|
blame
|
history
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);