Ensure that -i is set consistent with the batch's data.
authorWayne Davison <wayned@samba.org>
Wed, 16 Feb 2005 08:10:38 +0000 (08:10 +0000)
committerWayne Davison <wayned@samba.org>
Wed, 16 Feb 2005 08:10:38 +0000 (08:10 +0000)
batch.c

diff --git a/batch.c b/batch.c
index 68d284d..28f9a50 100644 (file)
--- a/batch.c
+++ b/batch.c
@@ -8,6 +8,7 @@
 #include "rsync.h"
 #include <time.h>
 
 #include "rsync.h"
 #include <time.h>
 
+extern int itemize_changes;
 extern int am_sender;
 extern int eol_nulls;
 extern int recurse;
 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,
        &preserve_devices,
        &preserve_hard_links,
        &always_checksum,
-       &xfer_dirs,
+       &itemize_changes,
        NULL
 };
 
        NULL
 };
 
@@ -46,6 +47,7 @@ static char *flag_name[] = {
        "--hard-links (-H)",
        "--checksum (-c)",
        "--dirs (-d)",
        "--hard-links (-H)",
        "--checksum (-c)",
        "--dirs (-d)",
+       "--itemize-changes (-i)",
        NULL
 };
 
        NULL
 };