pacman: print version information in debug output

Signed-off-by: Allan McRae <allan@archlinux.org>
This commit is contained in:
Allan McRae 2012-06-07 14:51:45 +10:00
parent d2ce93bc54
commit 9aead554bc

View File

@ -867,6 +867,8 @@ int main(int argc, char *argv[])
} }
} }
pm_printf(ALPM_LOG_DEBUG, "pacman v%s - libalpm v%s\n", PACKAGE_VERSION, alpm_version());
/* parse the config file */ /* parse the config file */
ret = parseconfig(config->configfile); ret = parseconfig(config->configfile);
if(ret != 0) { if(ret != 0) {