about summary refs log tree commit diff
diff options
context:
space:
mode:
-rw-r--r--Completion/Core/_message2
-rw-r--r--Completion/Pbmplus/_pbmtoepsi2
-rw-r--r--Completion/Pbmplus/_pktopbm2
-rw-r--r--Completion/Pbmplus/_yuvtoppm2
-rw-r--r--Doc/Zsh/compsys.yo1
5 files changed, 5 insertions, 4 deletions
diff --git a/Completion/Core/_message b/Completion/Core/_message
index 0837cdf2f..7f353b7c0 100644
--- a/Completion/Core/_message
+++ b/Completion/Core/_message
@@ -3,7 +3,7 @@
 local format
 
 format="$compconfig[message_format]"
-[[ -z "$format" ]] && "$compconfig[description_format]"
+[[ -z "$format" ]] && format="$compconfig[description_format]"
 
 if [[ -n "$format" ]]; then
   if [[ $compstate[nmatches] -eq 0 ]]; then
diff --git a/Completion/Pbmplus/_pbmtoepsi b/Completion/Pbmplus/_pbmtoepsi
index 7bba77295..4747c5c4a 100644
--- a/Completion/Pbmplus/_pbmtoepsi
+++ b/Completion/Pbmplus/_pbmtoepsi
@@ -1,3 +1,3 @@
 #compdef pbmtoepsi
 
-_arguments '--bbonly' ':file: _pbmfile'
+_arguments '-bbonly' ':file: _pbm_file'
diff --git a/Completion/Pbmplus/_pktopbm b/Completion/Pbmplus/_pktopbm
index 5b97fdd33..7f1e5d98a 100644
--- a/Completion/Pbmplus/_pktopbm
+++ b/Completion/Pbmplus/_pktopbm
@@ -1,4 +1,4 @@
 #compdef pktopbm
 
-_arguments ':pk file:_file -g *.(#i)pk' '-c:character number:' \
+_arguments ':pk file:_files -g *.(#i)pk' '-c:character number:' \
            '*:file: _pbm_file'
diff --git a/Completion/Pbmplus/_yuvtoppm b/Completion/Pbmplus/_yuvtoppm
index 438249d34..6a1e5c3e1 100644
--- a/Completion/Pbmplus/_yuvtoppm
+++ b/Completion/Pbmplus/_yuvtoppm
@@ -1,3 +1,3 @@
 #compdef yuvtoppm
 
-_arguments ':width:' ':height:' 'image bytes:'
+_arguments ':width:' ':height:' ':image bytes:'
diff --git a/Doc/Zsh/compsys.yo b/Doc/Zsh/compsys.yo
index 4f1b70c6e..13659a92b 100644
--- a/Doc/Zsh/compsys.yo
+++ b/Doc/Zsh/compsys.yo
@@ -924,6 +924,7 @@ in one string with the option name, but may also be given as a
 separate argument after the option, a plus sign should be used
 instead. Finally, if the option may be given more than once, a star
 (`tt(*)') should be added in front of the var(opt-spec).
+)
 enditem()
 
 In each of the cases above, the var(action) says how the possible