summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChantry Xavier <shiningxc@gmail.com>2007-09-26 18:59:40 +0200
committerDan McGee <dan@archlinux.org>2007-09-27 22:00:57 -0500
commita6b58638d12300d826e47697aa7bdc012b7f6684 (patch)
tree4bef2e16641617b98a7ca3da262c68df481dcbb5
parentfc0e83f05b29f57accb49544dabe856968349b3a (diff)
downloadpacman-a6b58638d12300d826e47697aa7bdc012b7f6684.tar.xz
document the -Qii option.
I suppose -Qii could be used for other things than displaying the list of backup files, but currently, it's the only one, so that's how I documented it.. Signed-off-by: Chantry Xavier <shiningxc@gmail.com> Signed-off-by: Dan McGee <dan@archlinux.org>
-rw-r--r--doc/pacman.8.txt4
-rw-r--r--src/pacman/pacman.c2
2 files changed, 4 insertions, 2 deletions
diff --git a/doc/pacman.8.txt b/doc/pacman.8.txt
index f6fee7b4..9be6b8d3 100644
--- a/doc/pacman.8.txt
+++ b/doc/pacman.8.txt
@@ -157,7 +157,9 @@ Query Options[[QO]]
*-i, \--info*::
Display information on a given package. The '-p' option can be used if
- querying a package file instead of the local database.
+ querying a package file instead of the local database. Passing two
+ '\--info' or '-i' flags will also display the list of backup files and
+ their modification states.
*-l, \--list*::
List all files owned by a given package. Multiple packages can be
diff --git a/src/pacman/pacman.c b/src/pacman/pacman.c
index aa128261..24c7ef81 100644
--- a/src/pacman/pacman.c
+++ b/src/pacman/pacman.c
@@ -113,7 +113,7 @@ static void usage(int op, char *myname)
printf(_(" -d, --deps list all packages installed as dependencies\n"));
printf(_(" -e, --explicit list all packages explicitly installed\n"));
printf(_(" -g, --groups view all members of a package group\n"));
- printf(_(" -i, --info view package information\n"));
+ printf(_(" -i, --info view package information (-ii for backup files)\n"));
printf(_(" -l, --list list the contents of the queried package\n"));
printf(_(" -m, --foreign list installed packages not found in sync db(s)\n"));
printf(_(" -o, --owns <file> query the package that owns <file>\n"));