summaryrefslogtreecommitdiff
path: root/batch.c
diff options
context:
space:
mode:
authorWayne Davison <wayned@samba.org>2005-02-16 08:10:38 +0000
committerWayne Davison <wayned@samba.org>2005-02-16 08:10:38 +0000
commit41961db0bd8e54d3f62c7e706125e01be357a261 (patch)
treef48f84bca1e8dc931af35bf658da67d6a0b82647 /batch.c
parente76518843d2c0ca595333de6a689afcea7448d94 (diff)
downloadrsync-41961db0bd8e54d3f62c7e706125e01be357a261.tar.gz
rsync-41961db0bd8e54d3f62c7e706125e01be357a261.tar.bz2
rsync-41961db0bd8e54d3f62c7e706125e01be357a261.zip
Ensure that -i is set consistent with the batch's data.
Diffstat (limited to 'batch.c')
-rw-r--r--batch.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/batch.c b/batch.c
index 68d284d6..28f9a509 100644
--- a/batch.c
+++ b/batch.c
@@ -8,6 +8,7 @@
#include "rsync.h"
#include <time.h>
+extern int itemize_changes;
extern int am_sender;
extern int eol_nulls;
extern int recurse;
@@ -33,7 +34,7 @@ static int *flag_ptr[] = {
&preserve_devices,
&preserve_hard_links,
&always_checksum,
- &xfer_dirs,
+ &itemize_changes,
NULL
};
@@ -46,6 +47,7 @@ static char *flag_name[] = {
"--hard-links (-H)",
"--checksum (-c)",
"--dirs (-d)",
+ "--itemize-changes (-i)",
NULL
};