summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorXavier Chantry <shiningxc@gmail.com>2008-08-07 19:50:07 +0200
committerDan McGee <dan@archlinux.org>2008-08-23 15:38:36 +0200
commit0969c2e700c6bd7f855ddfa4e73b6ccd71911ff5 (patch)
tree5d5778081cdba30ae74c6aa389743684de4701a4
parent56f0cf9d157bc2b902e4590364e2926c2f169b05 (diff)
downloadpacman-0969c2e700c6bd7f855ddfa4e73b6ccd71911ff5.tar.gz
pacman-0969c2e700c6bd7f855ddfa4e73b6ccd71911ff5.tar.xz
pacman : clarify help message.
Signed-off-by: Xavier Chantry <shiningxc@gmail.com> Signed-off-by: Dan McGee <dan@archlinux.org>
-rw-r--r--src/pacman/pacman.c5
1 files changed, 3 insertions, 2 deletions
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);