aboutsummaryrefslogtreecommitdiffstats
path: root/options.c
diff options
context:
space:
mode:
authorWayne Davison <wayned@samba.org>2009-09-07 14:22:59 -0700
committerWayne Davison <wayned@samba.org>2009-09-07 14:22:59 -0700
commit44d7d045c7880eba19ab04e80eeb064b0649e4b7 (patch)
tree9bee6fd321ad8fdce130335be0235ed38915305b /options.c
parent1a2e41af941573e69c02370329afe0192b61f213 (diff)
downloadandroid_external_rsync-44d7d045c7880eba19ab04e80eeb064b0649e4b7.tar.gz
android_external_rsync-44d7d045c7880eba19ab04e80eeb064b0649e4b7.tar.bz2
android_external_rsync-44d7d045c7880eba19ab04e80eeb064b0649e4b7.zip
Improve the "--delete does not work without -r or -d" message.
Diffstat (limited to 'options.c')
-rw-r--r--options.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/options.c b/options.c
index ee981e37..3c72eaed 100644
--- 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;
}