summaryrefslogtreecommitdiffstats
path: root/src/pacman/package.h
diff options
context:
space:
mode:
authorDan McGee <dan@archlinux.org>2009-10-08 04:52:09 +0200
committerDan McGee <dan@archlinux.org>2010-03-24 04:24:14 +0100
commitcdbb90aceb288034dbf4f228fc4c49da1e2ed0c0 (patch)
tree4762094260856cb5ed34f72adbba8ae8eb90f513 /src/pacman/package.h
parentad4efa539de1e8e9e51baee82efeafde9fb24380 (diff)
downloadpacman-cdbb90aceb288034dbf4f228fc4c49da1e2ed0c0.tar.gz
pacman-cdbb90aceb288034dbf4f228fc4c49da1e2ed0c0.tar.xz
Show 'Required By' in -Sii output
Just as we do in -Qi, we can compute required by information for sync database packages. The behavior seems sane; for a given package, the -Sii required by will show all packages in *any* sync database that require it. Implements FS#16244. Signed-off-by: Dan McGee <dan@archlinux.org>
Diffstat (limited to 'src/pacman/package.h')
-rw-r--r--src/pacman/package.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/pacman/package.h b/src/pacman/package.h
index 5b0e02c9..006ea1c9 100644
--- a/src/pacman/package.h
+++ b/src/pacman/package.h
@@ -23,7 +23,7 @@
#include <alpm.h>
void dump_pkg_full(pmpkg_t *pkg, int level);
-void dump_pkg_sync(pmpkg_t *pkg, const char *treename);
+void dump_pkg_sync(pmpkg_t *pkg, const char *treename, int level);
void dump_pkg_backups(pmpkg_t *pkg);
void dump_pkg_files(pmpkg_t *pkg, int quiet);