summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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"));