From 3a9dec104858a64489b004296d009c8222e7f040 Mon Sep 17 00:00:00 2001 From: Xavier Chantry Date: Thu, 14 Oct 2010 10:02:38 +0200 Subject: pacman: sort --help output Example with pacman -Uh : $ pacman -Uh options: -b, --dbpath set an alternate database location -d, --nodeps skip dependency checks -f, --force force install, overwrite conflicting files -k, --dbonly only modify database entries, not package files -r, --root set an alternate installation root -v, --verbose be verbose --arch set an alternate architecture --asdeps install packages as non-explicitly installed --asexplicit install packages as explicitly installed --cachedir set an alternate package cache location --config set an alternate configuration file --debug display debug messages --ignore ignore a package upgrade (can be used more than once) --ignoregroup ignore a group upgrade (can be used more than once) --logfile set an alternate log file --noconfirm do not ask for any confirmation --noprogressbar do not show a progress bar when downloading files --noscriptlet do not execute the install scriptlet if one exists --print only print the targets instead of performing the operation --print-format specify how the targets should be printed Signed-off-by: Xavier Chantry [Dan: small coding style touchups] Signed-off-by: Dan McGee --- src/pacman/util.h | 1 + 1 file changed, 1 insertion(+) (limited to 'src/pacman/util.h') diff --git a/src/pacman/util.h b/src/pacman/util.h index 2e77b0c4..0308f6b5 100644 --- a/src/pacman/util.h +++ b/src/pacman/util.h @@ -55,6 +55,7 @@ void string_display(const char *title, const char *string); void list_display(const char *title, const alpm_list_t *list); void list_display_linebreak(const char *title, const alpm_list_t *list); void display_targets(const alpm_list_t *pkgs, int install); +int str_cmp(const void *s1, const void *s2); void display_new_optdepends(pmpkg_t *oldpkg, pmpkg_t *newpkg); void display_optdepends(pmpkg_t *pkg); void print_packages(const alpm_list_t *packages); -- cgit v1.2.3-24-g4f1b