summaryrefslogtreecommitdiff
path: root/src/main.cpp
diff options
context:
space:
mode:
authorCraig Robbins <kde.psych@gmail.com>2016-05-11 17:15:41 +1000
committerCraig Robbins <kde.psych@gmail.com>2016-05-11 17:15:41 +1000
commit58b54cf9a97221a2457b8a5cf3816be4490848a5 (patch)
tree1e73a09d98c6cd2e03b42d5608c4a888cfb02ceb /src/main.cpp
parentebe638c32db2fb29886a5ae82c7726afad4c0010 (diff)
downloadminetest-58b54cf9a97221a2457b8a5cf3816be4490848a5.tar.gz
minetest-58b54cf9a97221a2457b8a5cf3816be4490848a5.tar.bz2
minetest-58b54cf9a97221a2457b8a5cf3816be4490848a5.zip
Add platform name to --version information
Diffstat (limited to 'src/main.cpp')
-rw-r--r--src/main.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/main.cpp b/src/main.cpp
index 72daaef01..7f11c6b46 100644
--- a/src/main.cpp
+++ b/src/main.cpp
@@ -344,7 +344,8 @@ static void print_allowed_options(const OptionList &allowed_options)
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
std::cout << "Using Irrlicht " << IRRLICHT_SDK_VERSION << std::endl;
#endif