summaryrefslogtreecommitdiffstats
path: root/src/pacman/conf.h
diff options
context:
space:
mode:
authorNathan Jones <nathanj@insightbb.com>2007-05-14 07:21:42 +0200
committerDan McGee <dan@archlinux.org>2007-05-14 07:22:15 +0200
commit5c930c318e7b80af3a322ddc7ddf9fe100e9c16b (patch)
treef0a5480fe7d324f8c66041ed36699c9168259f58 /src/pacman/conf.h
parent14c768365cc32659d0adf0887f93c39d340089fc (diff)
downloadpacman-5c930c318e7b80af3a322ddc7ddf9fe100e9c16b.tar.gz
pacman-5c930c318e7b80af3a322ddc7ddf9fe100e9c16b.tar.xz
Display size for packages
This patch adds a -z|--showsize option to the -Q and -S commands. The option displays the size of individual packages. This is something that I have wanted for a while, and there is a feature request for it. Signed-off-by: Nathan Jones <nathanj@insightbb.com> Signed-off-by: Dan McGee <dan@archlinux.org>
Diffstat (limited to 'src/pacman/conf.h')
-rw-r--r--src/pacman/conf.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/pacman/conf.h b/src/pacman/conf.h
index 4fff0abb..11aa41be 100644
--- a/src/pacman/conf.h
+++ b/src/pacman/conf.h
@@ -54,6 +54,7 @@ typedef struct __config_t {
pmtransflag_t flags;
unsigned short noask;
unsigned int ask;
+ unsigned short showsize;
} config_t;
config_t *config_new(void);