Skip to content

Commit

Permalink
Add platform name to --version information
Browse files Browse the repository at this point in the history
  • Loading branch information
Zeno- committed May 11, 2016
1 parent ebe638c commit 58b54cf
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/main.cpp
Expand Up @@ -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
Expand Down

0 comments on commit 58b54cf

Please sign in to comment.