about summary refs log tree commit diff
path: root/Completion/Base/Utility/_values
diff options
context:
space:
mode:
authorPeter Stephenson <pws@users.sourceforge.net>2009-08-28 15:10:27 +0000
committerPeter Stephenson <pws@users.sourceforge.net>2009-08-28 15:10:27 +0000
commit5b80d50ad3b88b74ff84ae760d80d7a965ea5670 (patch)
tree44f5adcd12f93a693594df0ca18560375602bc80 /Completion/Base/Utility/_values
parentc326bf0d30b4e0a062d661b29ef8c1e2962078a8 (diff)
downloadzsh-5b80d50ad3b88b74ff84ae760d80d7a965ea5670.tar.gz
zsh-5b80d50ad3b88b74ff84ae760d80d7a965ea5670.tar.xz
zsh-5b80d50ad3b88b74ff84ae760d80d7a965ea5670.zip
27233: improved _values handling of optional arguments
mount -o loop= argument is optional
Diffstat (limited to 'Completion/Base/Utility/_values')
-rw-r--r--Completion/Base/Utility/_values2
1 files changed, 1 insertions, 1 deletions
diff --git a/Completion/Base/Utility/_values b/Completion/Base/Utility/_values
index 52c42bc70..c2ae26465 100644
--- a/Completion/Base/Utility/_values
+++ b/Completion/Base/Utility/_values
@@ -59,7 +59,7 @@ if compvalues -i "$@"; then
       _describe "$descr" \
         noargs "$sep[@]" -M 'r:|[_-]=* r:|=*' -- \
         args -S "${argsep}" -M 'r:|[_-]=* r:|=*' -- \
-        opts -qS "${argsep}" -M 'r:|[_-]=* r:|=*'
+        opts -qS "${argsep}" -r "${argsep}${sep} \\t\\n\\-" -M 'r:|[_-]=* r:|=*'
 
       curcontext="$oldcontext"