On  8 Feb 2001, Martin Pool <[EMAIL PROTECTED]> wrote:
> 
> Date: Thursday February 8, 2001 @ 14:28
> Author:       mbp
> 
> Update of /data/cvs/rsync
> In directory samba:/tmp/cvs-serv14515
> 
> Modified Files:
>       options.c 
> Log Message:
> Document shortcoming of "unrecognised option" message.

Specifically, this:

                        /* 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;

Perhaps just a conditional on am_server would do.

--
Martin

"If English was good enough for Jesus it should be good enough for you."

Reply via email to