diff options
author | Xavier Chantry <shiningxc@gmail.com> | 2008-08-07 19:50:07 +0200 |
---|---|---|
committer | Dan McGee <dan@archlinux.org> | 2008-08-23 15:38:36 +0200 |
commit | 0969c2e700c6bd7f855ddfa4e73b6ccd71911ff5 (patch) | |
tree | 5d5778081cdba30ae74c6aa389743684de4701a4 /src | |
parent | 56f0cf9d157bc2b902e4590364e2926c2f169b05 (diff) | |
download | pacman-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>
Diffstat (limited to 'src')
-rw-r--r-- | src/pacman/pacman.c | 5 |
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); |