Send patches - preferably formatted by git format-patch - to patches at archlinux32 dot org.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAllan McRae <allan@archlinux.org>2020-12-03 21:34:01 +1000
committerAllan McRae <allan@archlinux.org>2020-12-03 21:34:01 +1000
commit20f2ae56eb4ae1affd274185c173524f5b4fb2f1 (patch)
treea92b767335ebd172fc64085a43e335b639e99239
parent5c24f7dd11a241f6414e3ee6f95f224382ec27ce (diff)
Modify "pacman -h" output for files operations
pacman -F can take both a file(s) or a package(s) as arguments. Passing a file is more common, so adjust to show that in the help. Signed-off-by: Allan McRae <allan@archlinux.org>
-rw-r--r--src/pacman/pacman.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/pacman/pacman.c b/src/pacman/pacman.c
index fefd3fa4..f98c9a4a 100644
--- a/src/pacman/pacman.c
+++ b/src/pacman/pacman.c
@@ -110,7 +110,7 @@ static void usage(int op, const char * const myname)
printf(" %s {-h --help}\n", myname);
printf(" %s {-V --version}\n", myname);
printf(" %s {-D --database} <%s> <%s>\n", myname, str_opt, str_pkg);
- printf(" %s {-F --files} [%s] [%s]\n", myname, str_opt, str_pkg);
+ printf(" %s {-F --files} [%s] [%s]\n", myname, str_opt, str_file);
printf(" %s {-Q --query} [%s] [%s]\n", myname, str_opt, str_pkg);
printf(" %s {-R --remove} [%s] <%s>\n", myname, str_opt, str_pkg);
printf(" %s {-S --sync} [%s] [%s]\n", myname, str_opt, str_pkg);