From d013696802dacb673c4545636f29ee4c6e079ca6 Mon Sep 17 00:00:00 2001 From: Peter Stephenson Date: Mon, 11 Feb 2008 12:49:56 +0000 Subject: 24545: new acroread options --- ChangeLog | 5 +++++ Completion/X/Command/_acroread | 11 ++++++++++- 2 files changed, 15 insertions(+), 1 deletion(-) diff --git a/ChangeLog b/ChangeLog index ee755072a..6c4cb4108 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +2008-02-11 Peter Stephenson + + * Haakon Riiser: 24545: Completion/X/Command/_acroread: new + options for version 8. + 2008-02-09 Peter Stephenson * 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 \ -- cgit 1.4.1