From c37c9c5dcae06c1585b4da4c0b838f5b44e1498e Mon Sep 17 00:00:00 2001 From: Ray Kohler Date: Thu, 24 Mar 2011 22:00:35 -0400 Subject: Add -T, --deptest to usage message Fixes FS #23369 Signed-off-by: Ray Kohler Signed-off-by: Dan McGee --- src/pacman/pacman.c | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/pacman/pacman.c b/src/pacman/pacman.c index fc34f0e9..2847fd50 100644 --- a/src/pacman/pacman.c +++ b/src/pacman/pacman.c @@ -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 {-R --remove} [%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(_("\nuse '%s {-h --help}' with an operation for available options\n"), myname); @@ -173,6 +174,9 @@ static void usage(int op, const char * const myname) printf("%s:\n", str_opt); addlist(_(" --asdeps mark packages as non-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) { case PM_OP_SYNC: -- cgit v1.2.3-70-g09d2