mirror of
https://github.com/kiwix/kiwix-tools.git
synced 2025-09-24 04:20:56 -04:00
Print dependence versions
This commit is contained in:
parent
9b158360a6
commit
d2bb9d123e
@ -24,9 +24,15 @@
|
||||
#define KIWIX_TOOLS_VERSION "undefined"
|
||||
#endif
|
||||
|
||||
#include <kiwix/version.h>
|
||||
#include <zim/version.h>
|
||||
|
||||
void version()
|
||||
{
|
||||
std::cout << KIWIX_TOOLS_VERSION << std::endl;
|
||||
std::cout << "kiwix-tools " << KIWIX_TOOLS_VERSION << std::endl << std::endl;
|
||||
kiwix::printVersions();
|
||||
std::cout << std::endl;
|
||||
zim::printVersions();
|
||||
}
|
||||
|
||||
#endif //_KIWIX_TOOLs_VERSION_H_
|
||||
|
Loading…
x
Reference in New Issue
Block a user