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