Skip to content

Commit 58b54cf

Browse files
committedMay 11, 2016
Add platform name to --version information
1 parent ebe638c commit 58b54cf

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed
 

‎src/main.cpp

+2-1
Original file line numberDiff line numberDiff line change
@@ -344,7 +344,8 @@ static void print_allowed_options(const OptionList &allowed_options)
344344

345345
static void print_version()
346346
{
347-
std::cout << PROJECT_NAME_C " " << g_version_hash << std::endl;
347+
std::cout << PROJECT_NAME_C " " << g_version_hash
348+
<< "(" << porting::getPlatformName() << ") " << std::endl;
348349
#ifndef SERVER
349350
std::cout << "Using Irrlicht " << IRRLICHT_SDK_VERSION << std::endl;
350351
#endif

0 commit comments

Comments
 (0)
Please sign in to comment.