[PATCH] Improve --help descriptions of --*-dels options.

Matt McCutchen matt at mattmccutchen.net
Tue Mar 11 04:53:13 GMT 2008


- --backup-dir-dels uses DIR, not the "current directory".
- State the --suffix-dels default correctly.
---
More work on backup-dir-dels...

 options.c |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/options.c b/options.c
index ed21704..0abc1ca 100644
--- a/options.c
+++ b/options.c
@@ -330,8 +330,8 @@ void usage(enum logcode F)
   rprintf(F," -b, --backup                make backups (see --suffix & --backup-dir)\n");
   rprintf(F,"     --backup-dir=DIR        make backups into hierarchy based in DIR\n");
   rprintf(F,"     --suffix=SUFFIX         set backup suffix (default %s w/o --backup-dir)\n",BACKUP_SUFFIX);
-  rprintf(F,"     --backup-dir-dels       make backups of removed files into current dir\n");
-  rprintf(F,"     --suffix-dels=SUFFIX    set removed-files suffix (defaults to --suffix)\n");
+  rprintf(F,"     --backup-dir-dels=DIR   backup removed files into hierarchy based in DIR\n");
+  rprintf(F,"     --suffix-dels=SUFFIX    set removed-files suffix (def. --suffix w/o b-d-d)\n");
   rprintf(F," -u, --update                skip files that are newer on the receiver\n");
   rprintf(F,"     --inplace               update destination files in-place (SEE MAN PAGE)\n");
   rprintf(F,"     --append                append data onto shorter files\n");
-- 
1.5.4.3.193.g6dd0e



More information about the rsync mailing list