mirror of
https://github.com/minetest/minetest.git
synced 2025-03-26 20:22:36 +01:00
Add platform name to --version information
This commit is contained in:
@ -344,7 +344,8 @@ static void print_allowed_options(const OptionList &allowed_options)
|
|||||||
|
|
||||||
static void print_version()
|
static void print_version()
|
||||||
{
|
{
|
||||||
std::cout << PROJECT_NAME_C " " << g_version_hash << std::endl;
|
std::cout << PROJECT_NAME_C " " << g_version_hash
|
||||||
|
<< "(" << porting::getPlatformName() << ") " << std::endl;
|
||||||
#ifndef SERVER
|
#ifndef SERVER
|
||||||
std::cout << "Using Irrlicht " << IRRLICHT_SDK_VERSION << std::endl;
|
std::cout << "Using Irrlicht " << IRRLICHT_SDK_VERSION << std::endl;
|
||||||
#endif
|
#endif
|
||||||
|
Reference in New Issue
Block a user