X-Git-Url: https://mattmccutchen.net/rsync/rsync.git/blobdiff_plain/055af776668c0878dd830f82d4bc6ca6aaca8e7a..d47741cac62e80d5ffd6f01274e3b7b48b2849e1:/options.c diff --git a/options.c b/options.c index 482f85e6..71a08f55 100644 --- a/options.c +++ b/options.c @@ -142,7 +142,7 @@ void usage(int F) rprintf(F,"the block size defaults to %d\n",BLOCK_SIZE); rprintf(F,"\nPlease see the rsync(1) and rsyncd.conf(5) man pages for full documentation\n"); - rprintf(F,"See http://samba.anu.edu.au/rsync/ for updates and bug reports\n"); + rprintf(F,"See http://rsync.samba.org/ for updates and bug reports\n"); } enum {OPT_VERSION,OPT_SUFFIX,OPT_SENDER,OPT_SERVER,OPT_EXCLUDE, @@ -238,6 +238,13 @@ static int check_refuse_options(char *ref, int opt) while ((p = strstr(ref,name))) { if ((p==ref || p[-1]==' ') && (p[len] == ' ' || p[len] == 0)) { + if (opt == 'z') { + /* don't actually refuse this one, just */ + /* minimize the compression level for now */ + extern int default_compression_level; + default_compression_level = 0; + return 0; + } slprintf(err_buf,sizeof(err_buf), "The '%s' option is not supported by this server\n", name); return 1;