X-Git-Url: https://mattmccutchen.net/rsync/rsync.git/blobdiff_plain/0c80cd8ee9cb0bfc5b447fc823f9c68bac33bc1c..2d1ebe9c722c8dfd3d892d6c00efce0bad78aae7:/options.c diff --git a/options.c b/options.c index 9b2a68eb..a58df938 100644 --- a/options.c +++ b/options.c @@ -621,6 +621,17 @@ int parse_arguments(int argc, char *argv[], int frommain) break; default: + /* FIXME: This can be confusing when the error message + * is coming from a remote server which has an older + * rsync version than the local version. The user + * sees the option documented in the local --help, but + * then the program seems to refuse to execute it. So + * perhaps the message should give the hostname or + * something. + * + * In rsync 3.x, it might be nice if options which + * only affect one end didn't have to bother the + * remote end. */ slprintf(err_buf,sizeof(err_buf),"unrecognised option\n"); return 0; }