From d0e94abb40aff4e7720ee79c78be206fd4755645 Mon Sep 17 00:00:00 2001 From: Wayne Davison Date: Mon, 9 May 2005 15:39:24 +0000 Subject: [PATCH] Fixed one synopsis line to make the DEST arg optional. --- options.c | 2 +- rsync.yo | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/options.c b/options.c index 69fe4b39..75d7cf80 100644 --- 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"); diff --git a/rsync.yo b/rsync.yo index c47ac29f..9f4f816c 100644 --- 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 -- 2.34.1