From 2f51241a85f1df7219ae0649bff9a0de369a8c84 Mon Sep 17 00:00:00 2001 From: Nagy Gabor <ngaba@bibl.u-szeged.hu> Date: Fri, 22 May 2009 01:06:33 +0200 Subject: [PATCH] Change package to package(s) and file to file(s) in documentation The pacman --help pages and the manual suggested that only one package can be upgraded/removed per transaction. Signed-off-by: Nagy Gabor <ngaba@bibl.u-szeged.hu> --- doc/pacman.8.txt | 4 ++-- src/pacman/pacman.c | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/doc/pacman.8.txt b/doc/pacman.8.txt index 4b7cf2d..195135b 100644 --- a/doc/pacman.8.txt +++ b/doc/pacman.8.txt @@ -45,7 +45,7 @@ Operations list. See <<QO,Query Options>> below. *-R, \--remove*:: - Remove a package from the system. Groups can also be specified to be + Remove package(s) from the system. Groups can also be specified to be removed, in which case every package in that group will be removed. Files belonging to the specified package will be deleted, and the database will be updated. Most configuration files will be saved @@ -81,7 +81,7 @@ to determine which packages need upgrading. This behavior operates as follows: 1 < 1.0 < 1.1 < 1.1.1 < 1.2 < 2.0 < 3.0.0 *-U, \--upgrade*:: - Upgrade or add a package to the system. Either a URL or file path can be + Upgrade or add package(s) to the system. Either a URL or file path can be specified. This is a ``remove-then-add'' process. See <<HCF,Handling Config Files>> for an explanation on how pacman takes care of config files. diff --git a/src/pacman/pacman.c b/src/pacman/pacman.c index c817828..1629171 100644 --- a/src/pacman/pacman.c +++ b/src/pacman/pacman.c @@ -65,8 +65,8 @@ static void usage(int op, const char * const myname) /* prefetch some strings for usage below, which moves a lot of calls * out of gettext. */ char const * const str_opt = _("options"); - char const * const str_file = _("file"); - char const * const str_pkg = _("package"); + char const * const str_file = _("file(s)"); + char const * const str_pkg = _("package(s)"); char const * const str_usg = _("usage"); char const * const str_opr = _("operation"); -- 1.6.3.1