summary refs log tree commit diff
path: root/Completion/X/Command
diff options
context:
space:
mode:
authorPeter Stephenson <pws@users.sourceforge.net>2008-02-11 12:49:56 +0000
committerPeter Stephenson <pws@users.sourceforge.net>2008-02-11 12:49:56 +0000
commitd013696802dacb673c4545636f29ee4c6e079ca6 (patch)
treeea4bd3e6d1cf62484e916cd0c873b4a0cd3c7218 /Completion/X/Command
parentf6f8152f4bd5f9774791dd20336d3e6ae357cf03 (diff)
downloadzsh-d013696802dacb673c4545636f29ee4c6e079ca6.tar.gz
zsh-d013696802dacb673c4545636f29ee4c6e079ca6.tar.xz
zsh-d013696802dacb673c4545636f29ee4c6e079ca6.zip
24545: new acroread options
Diffstat (limited to 'Completion/X/Command')
-rw-r--r--Completion/X/Command/_acroread11
1 files changed, 10 insertions, 1 deletions
diff --git a/Completion/X/Command/_acroread b/Completion/X/Command/_acroread
index 51d64a475..f74168a81 100644
--- a/Completion/X/Command/_acroread
+++ b/Completion/X/Command/_acroread
@@ -26,8 +26,15 @@ if [[ -z $_acroread_version ]]; then
   fi
 fi
 
-if [[ $_acroread_version == 7.* ]]; then
+if [[ $_acroread_version == [78].* ]]; then
+  local -a extra_args
+  if [[ $_acroread_version == 8.* ]]; then
+    extra_args=(-man '-installCertificate:server ip::server port')
+  else
+    extra_args=()
+  fi
   _arguments -C \
+    "${extra_args[@]}" \
     '--display=:X display:_x_display' \
     '--screen=:X screen (overrides the screen part of DISPLAY)' \
     --sync \
@@ -55,6 +62,8 @@ if [[ $_acroread_version == 7.* ]]; then
     '(-odd)-even' \
     -commentsOff \
     -annotsOff \
+    -stampsOff \
+    -markupsOn \
     '(-level3)-level2' \
     '(-level2)-level3' \
     -printerhalftones \