about summary refs log tree commit diff
path: root/Completion/Unix/Command/_pkginfo
diff options
context:
space:
mode:
Diffstat (limited to 'Completion/Unix/Command/_pkginfo')
-rw-r--r--Completion/Unix/Command/_pkginfo36
1 files changed, 16 insertions, 20 deletions
diff --git a/Completion/Unix/Command/_pkginfo b/Completion/Unix/Command/_pkginfo
index 6c71082ef..eca9e057e 100644
--- a/Completion/Unix/Command/_pkginfo
+++ b/Completion/Unix/Command/_pkginfo
@@ -1,22 +1,18 @@
 #compdef pkginfo
 
-_pkginfo() {
-	_arguments -s \
-	'(-q -r -x)-l[long listing]' \
-	'(-l -r -x)-q[quiet mode]' \
-	'(-l -q -x)-r[relocation base]' \
-	'(-l -q -r)-x[extracted listing]' \
-	'-c[category]:category: ' \
-	'-a[architecture]:architecture: ' \
-	'-v[version]:version: ' \
-	- set1 \
-	'(-p)-i[select completely installed packages]' \
-	'(-i)-p[select partially installed packages]' \
-	'-R[root path]:root path:_files -/' \
-	'*:package instance:_pkg_instance --_opts installed:set1--R' \
-	- set2 \
-	'-d[device]:device file:_files' \
-	'*:package instance:_pkg_instance --_opts uninstalled:set2--d'
-}
-
-_pkginfo "$@"
+_arguments -s \
+  '(-q -r -x)-l[long listing]' \
+  '(-l -r -x)-q[quiet mode]' \
+  '(-l -q -x)-r[relocation base]' \
+  '(-l -q -r)-x[extracted listing]' \
+  '-c[category]:category' \
+  '-a[architecture]:architecture' \
+  '-v[version]:version' \
+  - set1 \
+  '(-p)-i[select completely installed packages]' \
+  '(-i)-p[select partially installed packages]' \
+  '-R[root path]:root path:_files -/' \
+  '*:package instance:_pkg_instance --_opts installed:set1--R' \
+  - set2 \
+  '-d[device]:device file:_files' \
+  '*:package instance:_pkg_instance --_opts uninstalled:set2--d'