From: Wayne Davison Date: Mon, 7 Sep 2009 21:22:59 +0000 (-0700) Subject: Improve the "--delete does not work without -r or -d" message. X-Git-Tag: v3.0.7pre1~22 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=9523670032220d9159c03f3e0e27e5050a70aa07;p=thirdparty%2Frsync.git Improve the "--delete does not work without -r or -d" message. --- diff --git a/options.c b/options.c index b6f7bae4..7b9e5a8d 100644 --- 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; }