Aack! Since released version 2.5.0, the --whole-file option was accidentally
authorDavid Dykstra <dwd@samba.org>
Tue, 15 Jan 2002 21:25:55 +0000 (21:25 +0000)
committerDavid Dykstra <dwd@samba.org>
Tue, 15 Jan 2002 21:25:55 +0000 (21:25 +0000)
changed to --whole.  Change it back.  Anybody who wants to use this option
with any version of rsync will have to switch to using -W.

options.c

index b79dffe..66c2d0c 100644 (file)
--- a/options.c
+++ b/options.c
@@ -293,7 +293,7 @@ static struct poptOption long_options[] = {
   {"update",          'u', POPT_ARG_NONE,   &update_only},
   {"links",           'l', POPT_ARG_NONE,   &preserve_links},
   {"copy-links",      'L', POPT_ARG_NONE,   &copy_links},
-  {"whole",           'W', POPT_ARG_NONE,   &whole_file},
+  {"whole-file",      'W', POPT_ARG_NONE,   &whole_file},
   {"copy-unsafe-links", 0, POPT_ARG_NONE,   &copy_unsafe_links},
   {"perms",           'p', POPT_ARG_NONE,   &preserve_perms},
   {"owner",           'o', POPT_ARG_NONE,   &preserve_uid},