mirror of
https://github.com/luanti-org/luanti.git
synced 2025-06-27 16:36:03 +00:00
Add build date to minetest --version and increase readability (#6331)
This commit is contained in:
parent
9f6d90aa81
commit
ad9786c44b
3 changed files with 17 additions and 18 deletions
|
@ -322,11 +322,11 @@ static void print_allowed_options(const OptionList &allowed_options)
|
|||
static void print_version()
|
||||
{
|
||||
std::cout << PROJECT_NAME_C " " << g_version_hash
|
||||
<< " (" << porting::getPlatformName() << ")" << std::endl;
|
||||
<< " (" << porting::getPlatformName() << ")" << std::endl;
|
||||
#ifndef SERVER
|
||||
std::cout << "Using Irrlicht " << IRRLICHT_SDK_VERSION << std::endl;
|
||||
std::cout << "Using Irrlicht " IRRLICHT_SDK_VERSION << std::endl;
|
||||
#endif
|
||||
std::cout << "Build info: " << g_build_info << std::endl;
|
||||
std::cout << g_build_info << std::endl;
|
||||
}
|
||||
|
||||
static void list_game_ids()
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue