Zsh Mailing List Archive
Messages sorted by: Reverse Date, Date, Thread, Author

PATCH: _print: add -v



---
 Completion/Zsh/Command/_print | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/Completion/Zsh/Command/_print b/Completion/Zsh/Command/_print
index 1eba13e..fae14eb 100644
--- a/Completion/Zsh/Command/_print
+++ b/Completion/Zsh/Command/_print
@@ -33,6 +33,7 @@ if [[ $service = print ]]; then
     '(-n -l -N -f -C -s -z)-c[print arguments in columns]' \
     '(-n -l -N -f -c -s -z)-C+[print arguments in specified number of columns]:columns' \
     '(-s -p -z)-u+[specify file descriptor to print arguments to]:file descriptor:_file_descriptors' \
+    '-v[store output in named parameter]:parameter' \
     '(-s -p -u)-z[push arguments onto editing buffer stack]' \
     '-D[substitute any arguments which are named directories using ~ notation]' \
     '-P[perform prompt expansion]' \
@@ -43,6 +44,7 @@ fi
 
 if [[ $state = printf ]]; then
   _arguments -C -s -S \
+    '-v[store output in named parameter]:parameter' \
     '1:format:->printfformat' \
     '*: :_default' && ret=0
 fi
-- 
2.8.2



Messages sorted by: Reverse Date, Date, Thread, Author