From 0969c2e700c6bd7f855ddfa4e73b6ccd71911ff5 Mon Sep 17 00:00:00 2001 From: Xavier Chantry Date: Thu, 7 Aug 2008 19:50:07 +0200 Subject: pacman : clarify help message. Signed-off-by: Xavier Chantry Signed-off-by: Dan McGee --- src/pacman/pacman.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'src') diff --git a/src/pacman/pacman.c b/src/pacman/pacman.c index 1ee27035..33df4e10 100644 --- a/src/pacman/pacman.c +++ b/src/pacman/pacman.c @@ -71,14 +71,15 @@ static void usage(int op, const char * const myname) if(op == PM_OP_MAIN) { printf("%s: %s <%s> [...]\n", str_usg, myname, str_opr); - printf("%s:\n", str_opt); + printf(_("operations:\n")); printf(" %s {-h --help}\n", myname); printf(" %s {-V --version}\n", 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 {-U --upgrade} [%s] <%s>\n", myname, str_opt, str_file); - printf(_("\nuse '%s --help' with other options for more syntax\n"), myname); + printf(_("\nuse '%s {-h --help}' with an operation for available options\n"), + myname); } else { if(op == PM_OP_REMOVE) { printf("%s: %s {-R --remove} [%s] <%s>\n", str_usg, myname, str_opt, str_pkg); -- cgit v1.2.3-70-g09d2