summaryrefslogtreecommitdiff
path: root/Completion/X/Command/_acroread
diff options
context:
space:
mode:
Diffstat (limited to 'Completion/X/Command/_acroread')
-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 \