about summary refs log tree commit diff
path: root/Completion/Unix
diff options
context:
space:
mode:
authorOliver Kiddle <opk@users.sourceforge.net>2001-12-19 15:10:38 +0000
committerOliver Kiddle <opk@users.sourceforge.net>2001-12-19 15:10:38 +0000
commit17502f6eb23dfddb9bdc705eb496ebf41aae4d7c (patch)
treec8536e6108a301e79e387e63f482337bf28e1976 /Completion/Unix
parentcd4e617bfd289ddcc4fa1f55b3cbfdceb5100fd1 (diff)
downloadzsh-17502f6eb23dfddb9bdc705eb496ebf41aae4d7c.tar.gz
zsh-17502f6eb23dfddb9bdc705eb496ebf41aae4d7c.tar.xz
zsh-17502f6eb23dfddb9bdc705eb496ebf41aae4d7c.zip
add missing description argument in _values calls (16366)
Diffstat (limited to 'Completion/Unix')
-rw-r--r--Completion/Unix/Command/_java7
-rw-r--r--Completion/Unix/Command/_samba2
2 files changed, 5 insertions, 4 deletions
diff --git a/Completion/Unix/Command/_java b/Completion/Unix/Command/_java
index 0e04cb91d..22003bc26 100644
--- a/Completion/Unix/Command/_java
+++ b/Completion/Unix/Command/_java
@@ -360,10 +360,11 @@ case "$state" in
 debug)
   if [[ -prefix :*, ]]; then
     compset -P :
-    _values -s , lines vars source
+    _values -s , "debug info" lines vars source
   else
-    compadd -P: none
-    compadd -P: -qS, lines vars source
+    _description debuginfo expl "debug info"
+    compadd -P: "$expl[@]" none
+    compadd -P: -qS, "$expl[@]" lines vars source
   fi
   ;;
 
diff --git a/Completion/Unix/Command/_samba b/Completion/Unix/Command/_samba
index 110c5008b..8e9d4aefe 100644
--- a/Completion/Unix/Command/_samba
+++ b/Completion/Unix/Command/_samba
@@ -35,7 +35,7 @@ case $service in
       '(-N -A)2:password'
       '(2)-s+[specify location of smb.conf]:smb.conf location:_files'
       '(2)-O+[specify socket options]:socket options'
-      '(2)-R+[specify name resolution order]:name resolution order:_values -s " " lmhosts host wins bcast'
+      '(2)-R+[specify name resolution order]:name resolution order:_values -s " " "name resolution order" lmhosts host wins bcast'
       '(2 -L -D -T)-M+[send message]:host:_hosts'
       '(2)-i+[specify NetBIOS scope]:scope'
       '(2)-N[suppress password prompt]'