Send patches - preferably formatted by git format-patch - to patches at archlinux32 dot org.
summaryrefslogtreecommitdiff
path: root/doc/pacman.8.txt
diff options
context:
space:
mode:
authorXavier Chantry <shiningxc@gmail.com>2009-07-19 11:15:11 +0200
committerDan McGee <dan@archlinux.org>2010-03-14 18:44:40 -0500
commitd39b1dbe627af218e49be6424857089a5888903b (patch)
tree9225a360217ede5c5817fa41fb182454008dce6e /doc/pacman.8.txt
parent67700b926a1eff745272975e7b089b80bf72cc30 (diff)
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 'doc/pacman.8.txt')
-rw-r--r--doc/pacman.8.txt16
1 files changed, 11 insertions, 5 deletions
diff --git a/doc/pacman.8.txt b/doc/pacman.8.txt
index 7f92ec71..0aec1118 100644
--- a/doc/pacman.8.txt
+++ b/doc/pacman.8.txt
@@ -170,6 +170,17 @@ Options
*\--arch* <'arch'>::
Specify an alternate architecture.
+*-p, \--print*::
+ Only print the targets instead of performing the actual operation (sync,
+ remove or upgrade). Use '\--print-format' to specify how targets are
+ displayed. The default format string is "%l", which displays url with '-S',
+ filename with '-U' and pkgname-pkgver with '-R'.
+
+*\--print-format* <'format'>::
+ Specify a printf-like format to control the output of the '\--print'
+ operation. The possible are attributes are : %n for pkgname, %v for pkgver, %l
+ for location, %r for repo and %s for size.
+
Query Options[[QO]]
-------------------
*-c, \--changelog*::
@@ -306,11 +317,6 @@ linkman:pacman.conf[5].
List all packages in the specified repositories. Multiple repositories
can be specified on the command line.
-*-p, \--print-uris*::
- Print out URIs for each package that will be installed, including any
- dependencies yet to be installed. These can be piped to a file and
- downloaded at a later time, using a program like wget.
-
*-q, \--quiet*::
Show less information for certain sync operations. (This is useful when
pacman's output is processed in a script.) Search will only show package