PR#3 review: -l's arg is now optional
suyu-ci / reuse (pull_request) Failing after 10s Details
codespell / Check for spelling errors (pull_request) Successful in 11s Details
suyu verify / Verify Format (pull_request) Failing after 1m28s Details
suyu verify / test build (linux-fresh, clang) (pull_request) Has been skipped Details
suyu verify / test build (linux-fresh, linux) (pull_request) Has been skipped Details
suyu verify / test build (linux-mingw, windows) (pull_request) Has been skipped Details
suyu verify / android (pull_request) Has been skipped Details

This commit is contained in:
RadsammyT 2024-03-23 00:27:27 -04:00
parent 1ed34b1e47
commit f9c3b8dc75
Signed by: RadsammyT
GPG Key ID: AB722CF6F96430AE
1 changed files with 2 additions and 2 deletions

View File

@ -234,7 +234,7 @@ int main(int argc, char** argv) {
{"fullscreen", no_argument, 0, 'f'},
{"help", no_argument, 0, 'h'},
{"game", required_argument, 0, 'g'},
{"applet-params", required_argument, 0, 'l'},
{"applet-params", optional_argument, 0, 'l'},
{"multiplayer", required_argument, 0, 'm'},
{"program", optional_argument, 0, 'p'},
{"user", required_argument, 0, 'u'},
@ -244,7 +244,7 @@ int main(int argc, char** argv) {
};
while (optind < argc) {
int arg = getopt_long(argc, argv, "g:fhvp::c:u:l:", long_options, &option_index);
int arg = getopt_long(argc, argv, "g:fhvp::c:u:l::", long_options, &option_index);
if (arg != -1) {
switch (static_cast<char>(arg)) {
case 'c':