Added a backward-compatibility note about -h to the --help option
authorWayne Davison <wayned@samba.org>
Sat, 11 Feb 2006 00:01:22 +0000 (00:01 +0000)
committerWayne Davison <wayned@samba.org>
Sat, 11 Feb 2006 00:01:22 +0000 (00:01 +0000)
in the help text.

options.c

index 9a8b9e8..d7c7cbe 100644 (file)
--- a/options.c
+++ b/options.c
@@ -373,7 +373,7 @@ void usage(enum logcode F)
   rprintf(F," -6, --ipv6                  prefer IPv6\n");
 #endif
   rprintf(F,"     --version               print version number\n");
-  rprintf(F,"     --help                  show this help screen\n");
+  rprintf(F,"(-h) --help                  show this help (-h works with no other options)\n");
 
   rprintf(F,"\nUse \"rsync --daemon --help\" to see the daemon-mode command-line options.\n");
   rprintf(F,"Please see the rsync(1) and rsyncd.conf(5) man pages for full documentation.\n");