X-Git-Url: https://mattmccutchen.net/rsync/rsync.git/blobdiff_plain/f8c8ef9eacde65ae2e03512de734c6672d3f19f6..bd397b8cbaec1fb144e83c4e93047d50cd4759ee:/options.c diff --git a/options.c b/options.c index a1c8df55..f51e1773 100644 --- a/options.c +++ b/options.c @@ -827,6 +827,12 @@ int parse_arguments(int *argc, const char ***argv, int frommain) am_server ? "server" : "client"); return 0; #endif + if (compare_dest) { + snprintf(err_buf, sizeof err_buf, + "--inplace does not yet work with %s\n", + link_dest ? "--link-dest" : "--compare-dest"); + return 0; + } } else if (partial_dir) { if (strcmp(partial_dir, ".") == 0) partial_dir = NULL;