about summary refs log tree commit diff
diff options
context:
space:
mode:
-rw-r--r--ChangeLog5
-rw-r--r--Completion/X/Command/_acroread11
2 files changed, 15 insertions, 1 deletions
diff --git a/ChangeLog b/ChangeLog
index ee755072a..6c4cb4108 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2008-02-11  Peter Stephenson  <pws@csr.com>
+
+	* Haakon Riiser: 24545: Completion/X/Command/_acroread: new
+	options for version 8.
+
 2008-02-09  Peter Stephenson  <p.w.stephenson@ntlworld.com>
 
 	* 24542: Src/Zle/zle_tricky.c: RC_QUOTES wasn't handled
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 \