about summary refs log tree commit diff
path: root/Completion/X
diff options
context:
space:
mode:
authorClint Adams <clint@users.sourceforge.net>2005-04-06 15:31:29 +0000
committerClint Adams <clint@users.sourceforge.net>2005-04-06 15:31:29 +0000
commitd6e79bddc0d7de7ecc1b55b905134b0ccf2eecd9 (patch)
tree837d5749695e055a8d999d8dbf026caf13972f37 /Completion/X
parentb2ba2fd207d88e2cf586bffb05ea4bb342cddee0 (diff)
downloadzsh-d6e79bddc0d7de7ecc1b55b905134b0ccf2eecd9.tar.gz
zsh-d6e79bddc0d7de7ecc1b55b905134b0ccf2eecd9.tar.xz
zsh-d6e79bddc0d7de7ecc1b55b905134b0ccf2eecd9.zip
* 21096: update for gv 3.6, which uses double-hyphen options.
Diffstat (limited to 'Completion/X')
-rw-r--r--Completion/X/Command/_gv79
1 files changed, 41 insertions, 38 deletions
diff --git a/Completion/X/Command/_gv b/Completion/X/Command/_gv
index cc6e646d7..2dd1ac67b 100644
--- a/Completion/X/Command/_gv
+++ b/Completion/X/Command/_gv
@@ -1,39 +1,42 @@
-#compdef gv gview
+#compdef gv
 
-_xt_arguments \
-  '(-nosafer)-safer' \
-  '(-safer)-nosafer' \
-  '(-noquiet)-quiet' \
-  '(-quiet)-noquiet' \
-  '(-nocenter)-center' \
-  '(-center)-nocenter' \
-  '(-noswap)-swap' \
-  '(-swap)-noswap' \
-  '(-noantialias)-antialias' \
-  '(-antialias)-noantialias' \
-  '(-nodsc)-dsc' \
-  '(-dsc)-nodsc' \
-  '(-noeof)-eof' \
-  '(-eof)-noeof' \
-  '(-nopixmap)-pixmap' \
-  '(-pixmap)-nopixmap' \
-  '(-nowatch)-watch' \
-  '(-watch)-nowatch' \
-  '(-noresize)-resize' \
-  '(-resize)-noresize' \
-  '(-grayscale -color)-monochrome' \
-  '(-monochrome -color)-grayscale' \
-  '(-grayscale -color)-monochrome' \
-  '(-landscape -seascape -upsidedown)-portrait' \
-  '(-portrait -seascape -upsidedown)-landscape' \
-  '(-portrait -landscape -upsidedown)-seascape' \
-  '(-portrait -landscape -seascape)-upsidedown' \
-  -{h,help,v,spartan} \
-  '-arguments:ghostscript arguments:' \
-  '-page:label of first page:' \
-  '-media:page size:(Letter Legal Statement Tabloid Ledger Folio Quarto 10x14 Executive A3 A4 A5 B4 B5)' \
-  '-scale:scale entry:' \
-  '-scalebase:scale base:' \
-  '-ad:resource file:_files' \
-  '-style:resource file:_files' \
-  '*:file: _pspdf -z'
+_arguments \
+  '-geometry:geometry:_x_geometry' \
+  '(--nosafer)--safer' \
+  '(--safer)--nosafer' \
+  '(--noquiet)--quiet' \
+  '(--quiet)--noquiet' \
+  '(--nocenter)--center' \
+  '(--center)--nocenter' \
+  '(--noswap)--swap' \
+  '(--swap)--noswap' \
+  '(--noantialias)--antialias' \
+  '(--antialias)--noantialias' \
+  '(--nodsc)--dsc' \
+  '(--dsc)--nodsc' \
+  '(--noeof)--eof' \
+  '(--eof)--noeof' \
+  '(--nopixmap)--pixmap' \
+  '(--pixmap)--nopixmap' \
+  '(--nowatch)--watch' \
+  '(--watch)--nowatch' \
+  '(--noresize)--resize' \
+  '(--resize)--noresize' \
+  '(--grayscale --color)--monochrome' \
+  '(--monochrome --color)--grayscale' \
+  '(--grayscale --color)--monochrome' \
+  '(--landscape --seascape --upsidedown)--portrait' \
+  '(--portrait --seascape --upsidedown)--landscape' \
+  '(--portrait --landscape --upsidedown)--seascape' \
+  '(--portrait --landscape --seascape)--upsidedown' \
+  --{help,spartan} \
+  -{h,v} \
+  '--arguments=:ghostscript arguments:' \
+  '--page=:label of first page:' \
+  '--media=:page size:(Letter Legal Statement Tabloid Ledger Folio Quarto 10x14 Executive A3 A4 A5 B4 B5)' \
+  '--orientation=:orientation:' \
+  '--scale=:scale entry:' \
+  '--scalebase=:scale base:' \
+  '--ad=:resource file:_files' \
+  '--style=:resource file:_files' \
+  '*:file: _pspdf --z'