summary refs log tree commit diff
path: root/Completion/Zsh/Command/_print
diff options
context:
space:
mode:
authorMikael Magnusson <mikachu@gmail.com>2016-07-04 16:19:41 +0200
committerMikael Magnusson <mikachu@gmail.com>2016-07-18 00:44:52 +0200
commitbd707b47875a5bc61b2bea2d7ffd2ed8738afcce (patch)
tree4d9650cb867b0bdeef2c52626d5bcc9d248dffcd /Completion/Zsh/Command/_print
parentb3dba0f7c1e2accb18dcdb8d6329b4d6a8a568e8 (diff)
downloadzsh-bd707b47875a5bc61b2bea2d7ffd2ed8738afcce.tar.gz
zsh-bd707b47875a5bc61b2bea2d7ffd2ed8738afcce.tar.xz
zsh-bd707b47875a5bc61b2bea2d7ffd2ed8738afcce.zip
_print: add -v
Diffstat (limited to 'Completion/Zsh/Command/_print')
-rw-r--r--Completion/Zsh/Command/_print2
1 files changed, 2 insertions, 0 deletions
diff --git a/Completion/Zsh/Command/_print b/Completion/Zsh/Command/_print
index 1eba13e88..38f17ab8e 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:_parameters' \
     '(-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:_parameters' \
     '1:format:->printfformat' \
     '*: :_default' && ret=0
 fi