diff --git a/src/version.h b/src/version.h index 0b556cf..0456fe5 100644 --- a/src/version.h +++ b/src/version.h @@ -24,9 +24,15 @@ #define KIWIX_TOOLS_VERSION "undefined" #endif +#include +#include + 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_