From a6b58638d12300d826e47697aa7bdc012b7f6684 Mon Sep 17 00:00:00 2001 From: Chantry Xavier Date: Wed, 26 Sep 2007 18:59:40 +0200 Subject: [PATCH] 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 Signed-off-by: Dan McGee --- doc/pacman.8.txt | 4 +++- src/pacman/pacman.c | 2 +- 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 query the package that owns \n"));