summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAllan McRae <allan@archlinux.org>2012-06-07 14:51:45 +1000
committerAllan McRae <allan@archlinux.org>2013-02-09 12:43:37 +1000
commit9aead554bca6c95fe0ef6ec86c408e3300485024 (patch)
treed9e4139ef7b3a5516026daaa7d08549d444f7ea9
parentd2ce93bc5477ede279bcf20d0a5f8d876f27ddb7 (diff)
downloadpacman-9aead554bca6c95fe0ef6ec86c408e3300485024.tar.xz
pacman: print version information in debug output
Signed-off-by: Allan McRae <allan@archlinux.org>
-rw-r--r--src/pacman/pacman.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/pacman/pacman.c b/src/pacman/pacman.c
index 088511bd..38b28e1f 100644
--- a/src/pacman/pacman.c
+++ b/src/pacman/pacman.c
@@ -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 */
ret = parseconfig(config->configfile);
if(ret != 0) {