Commit 44d7d045 authored by Wayne Davison's avatar Wayne Davison

Improve the "--delete does not work without -r or -d" message.

parent 1a2e41af
......@@ -1930,7 +1930,7 @@ int parse_arguments(int *argc_p, const char ***argv_p)
}
if (!xfer_dirs && delete_mode) {
snprintf(err_buf, sizeof err_buf,
"--delete does not work without -r or -d.\n");
"--delete does not work without --recursive (-r) or --dirs (-d).\n");
return 0;
}
......
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