about summary refs log tree commit diff
path: root/Completion/BSD/Command/_portsnap
diff options
context:
space:
mode:
authorPeter Stephenson <pws@users.sourceforge.net>2008-08-12 10:37:30 +0000
committerPeter Stephenson <pws@users.sourceforge.net>2008-08-12 10:37:30 +0000
commitb2e70921b06eee523071218c8919a27c7f4ce206 (patch)
treefc51fa290e22b0e92d96c70a769c7872dcbc106d /Completion/BSD/Command/_portsnap
parent6ce77ad7ba2195687114180bc8e5476f1f1212b7 (diff)
downloadzsh-b2e70921b06eee523071218c8919a27c7f4ce206.tar.gz
zsh-b2e70921b06eee523071218c8919a27c7f4ce206.tar.xz
zsh-b2e70921b06eee523071218c8919a27c7f4ce206.zip
25435: Baptiste Daroussin <baptiste.daroussin@gmail.com>:
new and improved BSD completions
unposted: fix Solaris completion .distfiles
Diffstat (limited to 'Completion/BSD/Command/_portsnap')
-rw-r--r--Completion/BSD/Command/_portsnap12
1 files changed, 6 insertions, 6 deletions
diff --git a/Completion/BSD/Command/_portsnap b/Completion/BSD/Command/_portsnap
index 1808bcd20..505c7a321 100644
--- a/Completion/BSD/Command/_portsnap
+++ b/Completion/BSD/Command/_portsnap
@@ -11,13 +11,13 @@ flags=(
 )
 
 _arguments -C -s \
-    '-d:Store working files in workdir:_files -/' \
-    '-f:Read configuration options from conffile:_files' \
+    '-d[Store working files in workdir]:workdir:_files -/' \
+    '-f[Read configuration options from conffile]:conf file:_files' \
     '-I[Update INDEX only. (update command only)]' \
-    '-k:Trust an RSA key with SHA256 hash of KEY:_files' \
-    '-l:Merge the specified local describes file into the INDEX:_files' \
-    '-p:Location of uncompressed ports tree:_files -/' \
-    '-s:Server from which to fetch updates:_hosts' \
+    '-k[Trust an RSA key with SHA256 hash of KEY]:RSA key:_files' \
+    '-l[Merge the specified local describes file into the INDEX]:file:_files' \
+    '-p[Location of uncompressed ports tree]:uncompressed ports tree:_files -/' \
+    '-s[Server from which to fetch updates]:server:_hosts' \
     '*:principal:->principal' && ret=0
 
 if [[ $state == principal ]]; then