We don't need to complain about --inplace being combined with one
authorWayne Davison <wayned@samba.org>
Mon, 17 Jan 2005 23:11:18 +0000 (23:11 +0000)
committerWayne Davison <wayned@samba.org>
Mon, 17 Jan 2005 23:11:18 +0000 (23:11 +0000)
of the --FOO-dest options anymore.

options.c

index 6f135034b1f74ebb68910a34fcccc7ac0af482d1..60b59b0c58cb7ec19213f40b4b9cf265a9c5e815 100644 (file)
--- a/options.c
+++ b/options.c
@@ -248,7 +248,7 @@ void usage(enum logcode F)
   rprintf(F,"     --backup-dir            make backups into this directory\n");
   rprintf(F,"     --suffix=SUFFIX         backup suffix (default %s w/o --backup-dir)\n",BACKUP_SUFFIX);
   rprintf(F," -u, --update                update only (don't overwrite newer files)\n");
-  rprintf(F,"     --inplace               update destination files inplace (SEE MAN PAGE)\n");
+  rprintf(F,"     --inplace               update destination files in-place (SEE MAN PAGE)\n");
   rprintf(F," -K, --keep-dirlinks         treat symlinked dir on receiver as dir\n");
   rprintf(F," -l, --links                 copy symlinks as symlinks\n");
   rprintf(F," -L, --copy-links            copy the referent of all symlinks\n");
@@ -952,12 +952,6 @@ int parse_arguments(int *argc, const char ***argv, int frommain)
                        return 0;
                }
                keep_partial = 0;
-               if (dest_option) {
-                       snprintf(err_buf, sizeof err_buf,
-                                "--inplace does not yet work with %s\n",
-                                dest_option);
-                       return 0;
-               }
 #else
                snprintf(err_buf, sizeof err_buf,
                         "--inplace is not supported on this %s\n",