Fixed one synopsis line to make the DEST arg optional.
authorWayne Davison <wayned@samba.org>
Mon, 9 May 2005 15:39:24 +0000 (15:39 +0000)
committerWayne Davison <wayned@samba.org>
Mon, 9 May 2005 15:39:24 +0000 (15:39 +0000)
options.c
rsync.yo

index 69fe4b399569f117385929f27ecf067db6011657..75d7cf803a6fe4b3e11954850f82d45556bb97a2 100644 (file)
--- a/options.c
+++ b/options.c
@@ -251,7 +251,7 @@ void usage(enum logcode F)
   rprintf(F,"\nrsync is a file transfer program capable of efficient remote update\nvia a fast differencing algorithm.\n\n");
 
   rprintf(F,"Usage: rsync [OPTION]... SRC [SRC]... [USER@]HOST:DEST\n");
-  rprintf(F,"  or   rsync [OPTION]... [USER@]HOST:SRC DEST\n");
+  rprintf(F,"  or   rsync [OPTION]... [USER@]HOST:SRC [DEST]\n");
   rprintf(F,"  or   rsync [OPTION]... SRC [SRC]... DEST\n");
   rprintf(F,"  or   rsync [OPTION]... [USER@]HOST::SRC [DEST]\n");
   rprintf(F,"  or   rsync [OPTION]... SRC [SRC]... [USER@]HOST::DEST\n");
index c47ac29f7fd1cf40c64d1409945c92adfb6f8cb1..9f4f816ca5581766b9d7392ce196fa98bdf1598c 100644 (file)
--- a/rsync.yo
+++ b/rsync.yo
@@ -5,7 +5,7 @@ manpagesynopsis()
 
 rsync [OPTION]... SRC [SRC]... [USER@]HOST:DEST
 
-rsync [OPTION]... [USER@]HOST:SRC DEST
+rsync [OPTION]... [USER@]HOST:SRC [DEST]
 
 rsync [OPTION]... SRC [SRC]... DEST