From 31b98626003fec9e33483152552906a601c072d4 Mon Sep 17 00:00:00 2001 From: Johannes Löthberg Date: Thu, 14 Aug 2014 04:21:42 +0200 Subject: pacman.c: Add -gg, -ii, and -yy to help summary MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit The sync help summaries was missing the information about: * -gg: View all groups and members * -ii: View extended information * -yy: Force refresh even if DBs are up to date Fixes FS#41388. Original-work-by: Earnestly Signed-off-by: Johannes Löthberg Signed-off-by: Allan McRae --- src/pacman/pacman.c | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/src/pacman/pacman.c b/src/pacman/pacman.c index 7228d1c9..30bb4528 100644 --- a/src/pacman/pacman.c +++ b/src/pacman/pacman.c @@ -153,14 +153,16 @@ static void usage(int op, const char * const myname) printf("%s: %s {-S --sync} [%s] [%s]\n", str_usg, myname, str_opt, str_pkg); printf("%s:\n", str_opt); addlist(_(" -c, --clean remove old packages from cache directory (-cc for all)\n")); - addlist(_(" -g, --groups view all members of a package group\n")); - addlist(_(" -i, --info view package information\n")); + addlist(_(" -g, --groups view all members of a package group\n" + " (-gg to view all groups and members)\n")); + addlist(_(" -i, --info view package information (-ii for extended information)\n")); addlist(_(" -l, --list view a list of packages in a repo\n")); addlist(_(" -q, --quiet show less information for query and search\n")); addlist(_(" -s, --search search remote repositories for matching strings\n")); - addlist(_(" -u, --sysupgrade upgrade installed packages (-uu allows downgrade)\n")); + addlist(_(" -u, --sysupgrade upgrade installed packages (-uu enables downgrades)\n")); addlist(_(" -w, --downloadonly download packages but do not install/upgrade anything\n")); - addlist(_(" -y, --refresh download fresh package databases from the server\n")); + addlist(_(" -y, --refresh download fresh package databases from the server\n" + " (-yy to force a refresh even if up to date)\n")); addlist(_(" --needed do not reinstall up to date packages\n")); } else if(op == PM_OP_DATABASE) { printf("%s: %s {-D --database} <%s> <%s>\n", str_usg, myname, str_opt, str_pkg); -- cgit v1.2.3-54-g00ecf