Commit 327c559a authored by Wayne Davison's avatar Wayne Davison

Improved the new --pasword-file error message.

parent 99effefc
......@@ -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);
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment