diff options
author | Allan McRae <allan@archlinux.org> | 2012-06-07 14:51:45 +1000 |
---|---|---|
committer | Allan McRae <allan@archlinux.org> | 2013-02-09 12:43:37 +1000 |
commit | 9aead554bca6c95fe0ef6ec86c408e3300485024 (patch) | |
tree | d9e4139ef7b3a5516026daaa7d08549d444f7ea9 | |
parent | d2ce93bc5477ede279bcf20d0a5f8d876f27ddb7 (diff) | |
download | pacman-9aead554bca6c95fe0ef6ec86c408e3300485024.tar.xz |
pacman: print version information in debug output
Signed-off-by: Allan McRae <allan@archlinux.org>
-rw-r--r-- | src/pacman/pacman.c | 2 |
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) { |