mirror of
https://github.com/RetroDECK/ES-DE.git
synced 2025-01-17 22:55:38 +00:00
Updated --help output to include current version + build time.
This commit is contained in:
parent
2bfa5ca4ad
commit
c31c7c246f
28
src/main.cpp
28
src/main.cpp
|
@ -62,19 +62,21 @@ bool parseArgs(int argc, char* argv[], unsigned int* width, unsigned int* height
|
||||||
scrape_cmdline = true;
|
scrape_cmdline = true;
|
||||||
}else if(strcmp(argv[i], "--help") == 0 || strcmp(argv[i], "-h") == 0)
|
}else if(strcmp(argv[i], "--help") == 0 || strcmp(argv[i], "-h") == 0)
|
||||||
{
|
{
|
||||||
std::cout << "EmulationStation, a graphical front-end for ROM browsing.\n";
|
std::cout <<
|
||||||
std::cout << "Written by Alec \"Aloshi\" Lofquist.\n";
|
"EmulationStation, a graphical front-end for ROM browsing.\n"
|
||||||
std::cout << "Command line arguments:\n";
|
"Written by Alec \"Aloshi\" Lofquist.\n"
|
||||||
std::cout << "--resolution [width] [height] try and force a particular resolution\n";
|
"Version " << PROGRAM_VERSION_STRING << ", built " << PROGRAM_BUILT_STRING << "\n\n"
|
||||||
std::cout << "--gamelist-only skip automatic game detection, only read from gamelist.xml\n";
|
"Command line arguments:\n"
|
||||||
std::cout << "--ignore-gamelist ignore the gamelist (useful for troubleshooting)\n";
|
"--resolution [width] [height] try and force a particular resolution\n"
|
||||||
std::cout << "--draw-framerate display the framerate\n";
|
"--gamelist-only skip automatic game search, only read from gamelist.xml\n"
|
||||||
std::cout << "--no-exit don't show the exit option in the menu\n";
|
"--ignore-gamelist ignore the gamelist (useful for troubleshooting)\n"
|
||||||
std::cout << "--debug even more logging\n";
|
"--draw-framerate display the framerate\n"
|
||||||
std::cout << "--scrape scrape using command line interface\n";
|
"--no-exit don't show the exit option in the menu\n"
|
||||||
std::cout << "--windowed not fullscreen, should be used in conjunction with --resolution\n";
|
"--debug even more logging\n"
|
||||||
std::cout << "--help, -h summon a sentient, angry tuba\n\n";
|
"--scrape scrape using command line interface\n"
|
||||||
std::cout << "More information available in README.md.\n";
|
"--windowed not fullscreen, should be used with --resolution\n"
|
||||||
|
"--help, -h summon a sentient, angry tuba\n\n"
|
||||||
|
"More information available in README.md.\n";
|
||||||
return false; //exit after printing help
|
return false; //exit after printing help
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue