summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorColin Woodbury <colin@fosskers.ca>2020-11-25 21:53:11 +0100
committerAllan McRae <allan@archlinux.org>2020-12-03 12:37:30 +0100
commita4240a55e448ffba15a5edbad1a31cb76f821231 (patch)
tree16c740a638173a4e0a4b99cf4b9af288e4b2d64f
parent20f2ae56eb4ae1affd274185c173524f5b4fb2f1 (diff)
downloadpacman-a4240a55e448ffba15a5edbad1a31cb76f821231.tar.gz
pacman-a4240a55e448ffba15a5edbad1a31cb76f821231.tar.xz
Restore usage line for -Fhv6.0.0alpha1
Unlike the other main commands, -F was missing its top-level usage line in its help output. Signed-off-by: Colin Woodbury <colin@fosskers.ca> Signed-off-by: Allan McRae <allan@archlinux.org>
-rw-r--r--src/pacman/pacman.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/pacman/pacman.c b/src/pacman/pacman.c
index f98c9a4a..7b19162c 100644
--- a/src/pacman/pacman.c
+++ b/src/pacman/pacman.c
@@ -176,6 +176,8 @@ static void usage(int op, const char * const myname)
printf("%s: %s {-T --deptest} [%s] [%s]\n", str_usg, myname, str_opt, str_pkg);
printf("%s:\n", str_opt);
} else if(op == PM_OP_FILES) {
+ printf("%s: %s {-F --files} [%s] [%s]\n", str_usg, myname, str_opt, str_file);
+ printf("%s:\n", str_opt);
addlist(_(" -l, --list list the files owned by the queried package\n"));
addlist(_(" -q, --quiet show less information for query and search\n"));
addlist(_(" -x, --regex enable searching using regular expressions\n"));