Restore usage line for -Fh
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>
This commit is contained in:
parent
20f2ae56eb
commit
a4240a55e4
1 changed files with 2 additions and 0 deletions
|
@ -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: %s {-T --deptest} [%s] [%s]\n", str_usg, myname, str_opt, str_pkg);
|
||||||
printf("%s:\n", str_opt);
|
printf("%s:\n", str_opt);
|
||||||
} else if(op == PM_OP_FILES) {
|
} 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(_(" -l, --list list the files owned by the queried package\n"));
|
||||||
addlist(_(" -q, --quiet show less information for query and search\n"));
|
addlist(_(" -q, --quiet show less information for query and search\n"));
|
||||||
addlist(_(" -x, --regex enable searching using regular expressions\n"));
|
addlist(_(" -x, --regex enable searching using regular expressions\n"));
|
||||||
|
|
Loading…
Add table
Reference in a new issue