summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDan McGee <dan@archlinux.org>2007-03-21 03:29:11 +0000
committerDan McGee <dan@archlinux.org>2007-03-21 03:29:11 +0000
commit40855b48fec2f54eb5c7783902233b16e2cce441 (patch)
tree7f6bc1c5022f0cad45f8f9cf8e3177730718076f
parent941c23025c886b820af8a17959bdf6dc4c2c0c9a (diff)
downloadpacman-40855b48fec2f54eb5c7783902233b16e2cce441.tar.xz
* pacman.c: Add CacheDir to -v --verbose output.
-rw-r--r--src/pacman/pacman.c7
1 files changed, 4 insertions, 3 deletions
diff --git a/src/pacman/pacman.c b/src/pacman/pacman.c
index 358b560a..b58f2ae9 100644
--- a/src/pacman/pacman.c
+++ b/src/pacman/pacman.c
@@ -510,9 +510,10 @@ int main(int argc, char *argv[])
alpm_option_set_dlcb(log_progress);
if(config->verbose > 0) {
- printf("Root : %s\n", alpm_option_get_root());
- printf("DBPath: %s\n", alpm_option_get_dbpath());
- list_display(_("Targets:"), pm_targets);
+ printf("Root : %s\n", alpm_option_get_root());
+ printf("DBPath : %s\n", alpm_option_get_dbpath());
+ printf("CacheDir : %s\n", alpm_option_get_cachedir());
+ list_display(_("Targets :"), pm_targets);
}
/* Opening local database */