Tweak command line output

This commit is contained in:
Hannes Mann 2016-06-14 04:41:32 +02:00
parent 17cc6b3483
commit c92759a9b8

View file

@ -28,13 +28,13 @@ int main(int argc, char** argv)
// Follow GNU format // Follow GNU format
if(str == "--help") if(str == "--help")
{ {
std::cout << "Usage: openrayman [options] ..."; std::cout << "Usage: openrayman [options] ..." << std::endl;
std::cout << "Options:" << std::endl; std::cout << "Options:" << std::endl;
std::cout << " --version Display version information" << std::endl; std::cout << " --version Display version information" << std::endl;
std::cout << " --game Specifies what game to run" << std::endl; std::cout << " --game \"game name\" Specifies what game OpenRayman should load" << std::endl;
std::cout << " This will default to the game set in \"config.json\" if no game is specified." << std::endl; std::cout << " This will default to the game set in the config file if no game is specified" << std::endl;
std::cout << " --convert-data Converts the data folder specified into a format that OpenRayman can read" << std::endl; std::cout << " --convert-data \"folder\" Converts the data folder specified into a format that OpenRayman can read" << std::endl;
std::cout << " This is needed to ease modding support." << std::endl; std::cout << " This is needed to ease modding support" << std::endl;
return EXIT_SUCCESS; return EXIT_SUCCESS;
} }
if(str == "--version") if(str == "--version")