X-Git-Url: https://mattmccutchen.net/rsync/rsync.git/blobdiff_plain/b60626549181401ddf8ed57bd21f2b9f43dfdbf6..33e817e37e5f8694650dd3903c64bc594e5de747:/options.c diff --git a/options.c b/options.c index 09a13c49..0896152b 100644 --- a/options.c +++ b/options.c @@ -88,6 +88,7 @@ void usage(int F) rprintf(F," or rsync [OPTION]... SRC DEST\n"); rprintf(F," or rsync [OPTION]... [USER@]HOST::SRC DEST\n"); rprintf(F," or rsync [OPTION]... SRC [USER@]HOST::DEST\n"); + rprintf(F," or rsync [OPTION]... rsync://[USER@]HOST[:PORT]/SRC DEST\n"); rprintf(F,"\nOptions\n"); rprintf(F," -v, --verbose increase verbosity\n"); rprintf(F," -c, --checksum always checksum\n"); @@ -122,9 +123,9 @@ void usage(int F) rprintf(F," -T --temp-dir=DIR create temporary files in directory DIR\n"); rprintf(F," --compare-dest=DIR also compare destination files relative to DIR\n"); rprintf(F," -z, --compress compress file data\n"); - rprintf(F," --exclude=PATTERN exclude file FILE\n"); + rprintf(F," --exclude=PATTERN exclude files matching PATTERN\n"); rprintf(F," --exclude-from=FILE exclude patterns listed in FILE\n"); - rprintf(F," --include=PATTERN don't exclude file FILE\n"); + rprintf(F," --include=PATTERN don't exclude files matching PATTERN\n"); rprintf(F," --include-from=FILE don't exclude patterns listed in FILE\n"); rprintf(F," --suffix=SUFFIX override backup suffix\n"); rprintf(F," --version print version number\n"); @@ -361,7 +362,7 @@ int parse_arguments(int argc, char *argv[]) case OPT_SENDER: if (!am_server) { usage(FERROR); - exit_cleanup(1); + exit_cleanup(RERR_SYNTAX); } am_sender = 1; break;