Send patches - preferably formatted by git format-patch - to patches at archlinux32 dot org.
summaryrefslogtreecommitdiff
path: root/src
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 /src
parentd2ce93bc5477ede279bcf20d0a5f8d876f27ddb7 (diff)
pacman: print version information in debug output
Signed-off-by: Allan McRae <allan@archlinux.org>
Diffstat (limited to 'src')
-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) {