PR#3 review: remove <filename> from --help + formatting changes
suyu-ci / Check REUSE Specification (pull_request) Failing after 12s Details
codespell / Check for spelling errors (pull_request) Successful in 11s Details
suyu verify / Verify Format (pull_request) Successful in 1m27s Details
suyu verify / test build (linux-mingw, windows) (pull_request) Has been cancelled Details
suyu verify / android (pull_request) Has been cancelled Details
suyu verify / test build (linux-fresh, clang) (pull_request) Has been cancelled Details
suyu verify / test build (linux-fresh, linux) (pull_request) Has been cancelled Details

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:
RadsammyT 2024-03-23 16:39:48 -04:00
parent cb9f9da7b6
commit ede4f2d8f4
Signed by: RadsammyT
GPG Key ID: AB722CF6F96430AE
2 changed files with 17 additions and 18 deletions

View File

@ -163,7 +163,6 @@ AppletProgramId AppletIdToProgramId(AppletId applet_id) {
}
}
ILibraryAppletCreator::ILibraryAppletCreator(Core::System& system_, std::shared_ptr<Applet> applet,
WindowSystem& window_system)
: ServiceFramework{system_, "ILibraryAppletCreator"},

View File

@ -71,23 +71,23 @@ __declspec(dllexport) int AmdPowerXpressRequestHighPerformance = 1;
#endif
static void PrintHelp(const char* argv0) {
std::cout
<< "Usage: " << argv0
<< " [options] <filename>\n"
"-c, --config Load the specified configuration file\n"
"-f, --fullscreen Start in fullscreen mode\n"
"-g, --game File path of the game to load\n"
"-h, --help Display this help and exit\n"
"-m, --multiplayer=nick:password@address:port"
" Nickname, password, address and port for multiplayer\n"
"-p, --program Pass following string as arguments to executable\n"
"-u, --user Select a specific user profile from 0 to 7\n"
"-v, --version Output version information and exit\n"
"-l, "
"--applet-params="
"\"program_id,applet_id,applet_type,launch_type,prog_index,prev_prog_index\"\n"
" Numerical parameters for launching an applet. If applet_id\n"
" is 0, then the provided game will launch, if any.\n";
std::cout << "Usage: " << argv0
<< " [options]\n"
"-c, --config Load the specified configuration file\n"
"-f, --fullscreen Start in fullscreen mode\n"
"-g, --game File path of the game to load\n"
"-h, --help Display this help and exit\n"
"-m, --multiplayer=nick:password@address:port"
" Nickname, password, address and port for multiplayer\n"
"-p, --program Pass following string as arguments to executable\n"
"-u, --user Select a specific user profile from 0 to 7\n"
"-v, --version Output version information and exit\n"
"-l, "
"--applet-params="
"\"program_id,applet_id,applet_type,launch_type,prog_index,prev_prog_index\"\n"
" Numerical parameters for launching an applet. If no\n"
" game is provided, then the applet will launch off of\n"
" the applet_id.\n";
}
static void PrintVersion() {