diff options
author | Xavier Chantry <shiningxc@gmail.com> | 2009-07-19 11:15:11 +0200 |
---|---|---|
committer | Dan McGee <dan@archlinux.org> | 2010-03-14 18:44:40 -0500 |
commit | d39b1dbe627af218e49be6424857089a5888903b (patch) | |
tree | 9225a360217ede5c5817fa41fb182454008dce6e /contrib/zsh_completion | |
parent | 67700b926a1eff745272975e7b089b80bf72cc30 (diff) | |
download | pacman-d39b1dbe627af218e49be6424857089a5888903b.tar.xz |
Add new --print operation for all operations
And a new --print-format option to configure the output.
This implements FS#14208
Example usage :
pacman -Sp --print-format "%r/%n-%v : %l [%s]" kdelibs
extra/kdelibs-4.3.2-4 : ftp://mir2.archlinuxfr.org/archlinux/extra/os/i686/kdelibs-4.3.2-4-i686.pkg.tar.gz [0,00]
Signed-off-by: Xavier Chantry <shiningxc@gmail.com>
Signed-off-by: Dan McGee <dan@archlinux.org>
Diffstat (limited to 'contrib/zsh_completion')
-rw-r--r-- | contrib/zsh_completion | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/contrib/zsh_completion b/contrib/zsh_completion index 01b3c443..f69fe631 100644 --- a/contrib/zsh_completion +++ b/contrib/zsh_completion @@ -26,6 +26,7 @@ _pacman_opts_common=( '--noconfirm[Do not ask for confirmation]' '--noprogressbar[Do not show a progress bar when downloading files]' '--noscriptlet[Do not execute the install scriptlet if one exists]' + '--print[Only print the targets instead of performing the operation]' ) # options for passing to _arguments: options for --upgrade commands |