* pacman.c: Add CacheDir to -v --verbose output.

This commit is contained in:
Dan McGee 2007-03-21 03:29:11 +00:00
parent 941c23025c
commit 40855b48fe

View file

@ -510,9 +510,10 @@ int main(int argc, char *argv[])
alpm_option_set_dlcb(log_progress); alpm_option_set_dlcb(log_progress);
if(config->verbose > 0) { if(config->verbose > 0) {
printf("Root : %s\n", alpm_option_get_root()); printf("Root : %s\n", alpm_option_get_root());
printf("DBPath: %s\n", alpm_option_get_dbpath()); printf("DBPath : %s\n", alpm_option_get_dbpath());
list_display(_("Targets:"), pm_targets); printf("CacheDir : %s\n", alpm_option_get_cachedir());
list_display(_("Targets :"), pm_targets);
} }
/* Opening local database */ /* Opening local database */