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

This commit is contained in:
Wayne Davison committed 2009-09-07 14:22:59 -07:00
1 parent 1a2e41af94
commit 44d7d045c7
1 file changed
+1 -1
+1 -1
View File
@@ -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;
}