about summary refs log tree commit diff
diff options
context:
space:
mode:
authorWayne Davison <wayned@users.sourceforge.net>2006-02-19 17:46:47 +0000
committerWayne Davison <wayned@users.sourceforge.net>2006-02-19 17:46:47 +0000
commit8ca959cea5fc07feb6320324fe1c231a514ceb0f (patch)
treead425d090a97fa88b84d70ce3423a83089b97681
parent7a84ca093a27202ac439f952b6ca03401e66bee3 (diff)
downloadzsh-8ca959cea5fc07feb6320324fe1c231a514ceb0f.tar.gz
zsh-8ca959cea5fc07feb6320324fe1c231a514ceb0f.tar.xz
zsh-8ca959cea5fc07feb6320324fe1c231a514ceb0f.zip
Added the missing -h option for --daemon mode.
-rw-r--r--Completion/Unix/Command/_rsync3
1 files changed, 2 insertions, 1 deletions
diff --git a/Completion/Unix/Command/_rsync b/Completion/Unix/Command/_rsync
index bbe890869..b37348004 100644
--- a/Completion/Unix/Command/_rsync
+++ b/Completion/Unix/Command/_rsync
@@ -99,13 +99,14 @@ _arguments -s \
   '--sockopts=[specify custom TCP options]' \
   '(-4 -6 --ipv4 --ipv6)'{-4,--ipv4}'[prefer IPv4]' \
   '(-4 -6 --ipv4 --ipv6)'{-6,--ipv6}'[prefer IPv6]' \
-  '(-)--help[display help information]' \
  - daemon \
+  '(-)'{-h,--help}'[display help information]' \
   '--config=[specify alternate rsyncd.conf file]:file:_files' \
   '--daemon[run as an rsync daemon]' \
   '--detach[detach from the parent]' \
   '--no-detach[do not detach from the parent]' \
  - client \
+  '(-)--help[display help information]' \
   '*: :_rsync_files' \
   '(-q --quiet)'{-q,--quiet}'[suppress non-error messages]' \
   '(-c --checksum)'{-c,--checksum}'[skip based on checksums, not mod-time & size]' \