From b72f24c7190fde1c15662d52c8d62789bd2086ad Mon Sep 17 00:00:00 2001 From: Andrew Tridgell Date: Mon, 1 Jun 1998 10:38:24 +0000 Subject: [PATCH] updated the usage info --- options.c | 12 +++++++++--- rsync.yo | 4 ++++ 2 files changed, 13 insertions(+), 3 deletions(-) diff --git a/options.c b/options.c index 28eb923d..42b8a21c 100644 --- a/options.c +++ b/options.c @@ -75,9 +75,12 @@ void usage(int F) { rprintf(F,"rsync version %s Copyright Andrew Tridgell and Paul Mackerras\n\n", VERSION); - rprintf(F,"Usage:\t%s [options] src user@host:dest\nOR",RSYNC_NAME); - rprintf(F,"\t%s [options] user@host:src dest\n\n",RSYNC_NAME); - rprintf(F,"Options:\n"); + rprintf(F,"Usage:\t%s [options] src user@host:dest\n",RSYNC_NAME); + rprintf(F,"OR\t%s [options] user@host:src dest\n",RSYNC_NAME); + rprintf(F,"OR\t%s [options] src dest\n",RSYNC_NAME); + rprintf(F,"OR\t%s [options] user@host::src dest\n",RSYNC_NAME); + rprintf(F,"OR\t%s [options] src user@host::dest\n",RSYNC_NAME); + rprintf(F,"\nOptions:\n"); rprintf(F,"-v, --verbose increase verbosity\n"); rprintf(F,"-c, --checksum always checksum\n"); rprintf(F,"-a, --archive archive mode\n"); @@ -122,6 +125,9 @@ void usage(int F) rprintf(F,"\n"); rprintf(F,"the backup suffix defaults to %s\n",BACKUP_SUFFIX); 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"); } enum {OPT_VERSION,OPT_SUFFIX,OPT_SENDER,OPT_SERVER,OPT_EXCLUDE, diff --git a/rsync.yo b/rsync.yo index 8c2fae45..893c0bae 100644 --- a/rsync.yo +++ b/rsync.yo @@ -444,6 +444,10 @@ specified. dit(bf(--port PORT)) This specifies an alternate TCP port number to use rather than the default port 873. +dit(bf(--stats)) This tells rsync to print a verbose set of statistics +on the file transfer, allowing you to tell how effective the rsync +algorithm is for your data. + enddit() manpagesection(EXCLUDE PATTERNS) -- 2.34.1