projects
/
oweals
/
minetest.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ebe638c
)
Add platform name to --version information
author
Craig Robbins
<kde.psych@gmail.com>
Wed, 11 May 2016 07:15:41 +0000
(17:15 +1000)
committer
Craig Robbins
<kde.psych@gmail.com>
Wed, 11 May 2016 07:15:41 +0000
(17:15 +1000)
src/main.cpp
patch
|
blob
|
history
diff --git
a/src/main.cpp
b/src/main.cpp
index 72daaef012a0fe1360e7e51384d7fce41823e703..7f11c6b464fdb3cf903df4c45bf7fca18846042e 100644
(file)
--- 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