summaryrefslogtreecommitdiffstats
path: root/src/pacman/query.c
diff options
context:
space:
mode:
authorNathan Jones <nathanj@insightbb.com>2007-10-19 19:17:54 +0200
committerDan McGee <dan@archlinux.org>2007-10-20 02:30:06 +0200
commitf5b77eb9894ea92a08fac586ddf03e9ba70c3de8 (patch)
tree6cf3e2750522841f1e1fb39d4d5e9c953bd27644 /src/pacman/query.c
parente472e80c084c5e94fdc15d2f6565c50e65854372 (diff)
downloadpacman-f5b77eb9894ea92a08fac586ddf03e9ba70c3de8.tar.gz
pacman-f5b77eb9894ea92a08fac586ddf03e9ba70c3de8.tar.xz
Add download size to target list.
This displays the download size, taking into account delta files and cached files. This closes FS#4182. Signed-off-by: Nathan Jones <nathanj@insightbb.com> Signed-off-by: Dan McGee <dan@archlinux.org>
Diffstat (limited to 'src/pacman/query.c')
-rw-r--r--src/pacman/query.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/pacman/query.c b/src/pacman/query.c
index 4e4002cf..8a01d829 100644
--- a/src/pacman/query.c
+++ b/src/pacman/query.c
@@ -219,7 +219,7 @@ static int query_upgrades(void)
printf(_("Checking for package upgrades... \n"));
if((syncpkgs = alpm_db_get_upgrades()) != NULL) {
- display_targets(syncpkgs);
+ display_targets(syncpkgs, db_local);
return(0);
}