Add -T, --deptest to usage message
Fixes FS #23369 Signed-off-by: Ray Kohler <ataraxia937@gmail.com> Signed-off-by: Dan McGee <dan@archlinux.org>
This commit is contained in:
parent
14474a32c9
commit
c37c9c5dca
1 changed files with 4 additions and 0 deletions
|
@ -123,6 +123,7 @@ static void usage(int op, const char * const myname)
|
||||||
printf(" %s {-Q --query} [%s] [%s]\n", myname, str_opt, str_pkg);
|
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 {-R --remove} [%s] <%s>\n", myname, str_opt, str_pkg);
|
||||||
printf(" %s {-S --sync} [%s] [%s]\n", myname, str_opt, str_pkg);
|
printf(" %s {-S --sync} [%s] [%s]\n", myname, str_opt, str_pkg);
|
||||||
|
printf(" %s {-T --deptest} [%s] [%s]\n", myname, str_opt, str_pkg);
|
||||||
printf(" %s {-U --upgrade} [%s] <%s>\n", myname, str_opt, str_file);
|
printf(" %s {-U --upgrade} [%s] <%s>\n", myname, str_opt, str_file);
|
||||||
printf(_("\nuse '%s {-h --help}' with an operation for available options\n"),
|
printf(_("\nuse '%s {-h --help}' with an operation for available options\n"),
|
||||||
myname);
|
myname);
|
||||||
|
@ -173,6 +174,9 @@ static void usage(int op, const char * const myname)
|
||||||
printf("%s:\n", str_opt);
|
printf("%s:\n", str_opt);
|
||||||
addlist(_(" --asdeps mark packages as non-explicitly installed\n"));
|
addlist(_(" --asdeps mark packages as non-explicitly installed\n"));
|
||||||
addlist(_(" --asexplicit mark packages as explicitly installed\n"));
|
addlist(_(" --asexplicit mark packages as explicitly installed\n"));
|
||||||
|
} else if(op == PM_OP_DEPTEST) {
|
||||||
|
printf("%s: %s {-T --deptest} [%s] [%s]\n", str_usg, myname, str_opt, str_pkg);
|
||||||
|
printf("%s:\n", str_opt);
|
||||||
}
|
}
|
||||||
switch(op) {
|
switch(op) {
|
||||||
case PM_OP_SYNC:
|
case PM_OP_SYNC:
|
||||||
|
|
Loading…
Add table
Reference in a new issue