From 20f2ae56eb4ae1affd274185c173524f5b4fb2f1 Mon Sep 17 00:00:00 2001 From: Allan McRae Date: Thu, 3 Dec 2020 21:34:01 +1000 Subject: 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 --- src/pacman/pacman.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src') 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); -- cgit v1.2.3-70-g09d2