Improved the new --pasword-file error message.
authorWayne Davison <wayned@samba.org>
Sun, 24 Dec 2006 06:13:08 +0000 (06:13 +0000)
committerWayne Davison <wayned@samba.org>
Sun, 24 Dec 2006 06:13:08 +0000 (06:13 +0000)
main.c

diff --git a/main.c b/main.c
index fccf627..76692e1 100644 (file)
--- a/main.c
+++ b/main.c
@@ -1132,8 +1132,8 @@ static int start_client(int argc, char *argv[])
        }
 
        if (password_file && !daemon_over_rsh) {
-               rprintf(FERROR, "The --password-file option is used for "
-                               "talking to an rsync daemon.\n");
+               rprintf(FERROR, "The --password-file option may only be "
+                               "used when accessing an rsync daemon.\n");
                exit_cleanup(RERR_SYNTAX);
        }