summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorJohannes Löthberg <johannes@kyriasis.com>2014-08-14 04:21:42 +0200
committerAllan McRae <allan@archlinux.org>2014-09-23 23:29:03 +1000
commit31b98626003fec9e33483152552906a601c072d4 (patch)
tree99c135888fd886ce3469a86d1bb2cd681c6c1a45 /src
parent24e0bd215c3afc5b0a80f6e292561b237acb19e0 (diff)
downloadpacman-31b98626003fec9e33483152552906a601c072d4.tar.xz
pacman.c: Add -gg, -ii, and -yy to help summary
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 <zibeon@gmail.com> Signed-off-by: Johannes Löthberg <johannes@kyriasis.com> Signed-off-by: Allan McRae <allan@archlinux.org>
Diffstat (limited to 'src')
-rw-r--r--src/pacman/pacman.c10
1 files 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 <repo> view a list of packages in a repo\n"));
addlist(_(" -q, --quiet show less information for query and search\n"));
addlist(_(" -s, --search <regex> 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);