diff --git a/RetroFE/Source/Main.cpp b/RetroFE/Source/Main.cpp index c7c1c47..dfe8b1b 100644 --- a/RetroFE/Source/Main.cpp +++ b/RetroFE/Source/Main.cpp @@ -42,7 +42,9 @@ int main(int argc, char **argv) { // Do nothing; we handle that later } - else if(param == "-version") + else if(param == "-version" || + param == "--version" || + param == "-v") { std::cout << "RetroFE version " << Version::getString( ) << std::endl; return 0; @@ -51,7 +53,7 @@ int main(int argc, char **argv) { std::cout << "Usage:" << std::endl; std::cout << program << " Run RetroFE" << std::endl; - std::cout << program << " -version Print the version of RetroFE." << std::endl; + std::cout << program << " --version Print the version of RetroFE." << std::endl; std::cout << program << " -createcollection Create a collection directory structure." << std::endl; return 0; }