Improve the "--delete does not work without -r or -d" message.
[rsync/rsync.git] / options.c
index ee981e3..3c72eae 100644 (file)
--- a/options.c
+++ b/options.c
@@ -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;
        }