mirror of
https://git.suyu.dev/suyu/suyu.git
synced 2024-11-25 22:57:22 +00:00
PR#3 review: remove <filename> from --help + formatting changes
ran clang-format on suyu_cmd/suyu.cpp and removed one blank line on library_applet_accessor.cpp so formatting CI doesn't complain
This commit is contained in:
parent
cb9f9da7b6
commit
ede4f2d8f4
2 changed files with 17 additions and 18 deletions
|
@ -163,7 +163,6 @@ AppletProgramId AppletIdToProgramId(AppletId applet_id) {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
ILibraryAppletCreator::ILibraryAppletCreator(Core::System& system_, std::shared_ptr<Applet> applet,
|
ILibraryAppletCreator::ILibraryAppletCreator(Core::System& system_, std::shared_ptr<Applet> applet,
|
||||||
WindowSystem& window_system)
|
WindowSystem& window_system)
|
||||||
: ServiceFramework{system_, "ILibraryAppletCreator"},
|
: ServiceFramework{system_, "ILibraryAppletCreator"},
|
||||||
|
|
|
@ -71,23 +71,23 @@ __declspec(dllexport) int AmdPowerXpressRequestHighPerformance = 1;
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
static void PrintHelp(const char* argv0) {
|
static void PrintHelp(const char* argv0) {
|
||||||
std::cout
|
std::cout << "Usage: " << argv0
|
||||||
<< "Usage: " << argv0
|
<< " [options]\n"
|
||||||
<< " [options] <filename>\n"
|
"-c, --config Load the specified configuration file\n"
|
||||||
"-c, --config Load the specified configuration file\n"
|
"-f, --fullscreen Start in fullscreen mode\n"
|
||||||
"-f, --fullscreen Start in fullscreen mode\n"
|
"-g, --game File path of the game to load\n"
|
||||||
"-g, --game File path of the game to load\n"
|
"-h, --help Display this help and exit\n"
|
||||||
"-h, --help Display this help and exit\n"
|
"-m, --multiplayer=nick:password@address:port"
|
||||||
"-m, --multiplayer=nick:password@address:port"
|
" Nickname, password, address and port for multiplayer\n"
|
||||||
" Nickname, password, address and port for multiplayer\n"
|
"-p, --program Pass following string as arguments to executable\n"
|
||||||
"-p, --program Pass following string as arguments to executable\n"
|
"-u, --user Select a specific user profile from 0 to 7\n"
|
||||||
"-u, --user Select a specific user profile from 0 to 7\n"
|
"-v, --version Output version information and exit\n"
|
||||||
"-v, --version Output version information and exit\n"
|
"-l, "
|
||||||
"-l, "
|
"--applet-params="
|
||||||
"--applet-params="
|
"\"program_id,applet_id,applet_type,launch_type,prog_index,prev_prog_index\"\n"
|
||||||
"\"program_id,applet_id,applet_type,launch_type,prog_index,prev_prog_index\"\n"
|
" Numerical parameters for launching an applet. If no\n"
|
||||||
" Numerical parameters for launching an applet. If applet_id\n"
|
" game is provided, then the applet will launch off of\n"
|
||||||
" is 0, then the provided game will launch, if any.\n";
|
" the applet_id.\n";
|
||||||
}
|
}
|
||||||
|
|
||||||
static void PrintVersion() {
|
static void PrintVersion() {
|
||||||
|
|
Loading…
Reference in a new issue