1
0
Fork 0
forked from suyu/suyu

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:
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, ILibraryAppletCreator::ILibraryAppletCreator(Core::System& system_, std::shared_ptr<Applet> applet,
WindowSystem& window_system) WindowSystem& window_system)
: ServiceFramework{system_, "ILibraryAppletCreator"}, : ServiceFramework{system_, "ILibraryAppletCreator"},

View file

@ -71,9 +71,8 @@ __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"
@ -86,8 +85,9 @@ static void PrintHelp(const char* argv0) {
"-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 applet_id\n" " Numerical parameters for launching an applet. If no\n"
" is 0, then the provided game will launch, if any.\n"; " game is provided, then the applet will launch off of\n"
" the applet_id.\n";
} }
static void PrintVersion() { static void PrintVersion() {