From da2912e75fd841cc0397458b6a3be80c41ffe151 Mon Sep 17 00:00:00 2001 From: OpenSauce04 Date: Mon, 28 Oct 2024 18:30:28 +0000 Subject: [PATCH] lime_sdl: Fixed `-a` and `-d` short options being considered invalid (#508 2/2) This is a purely cosmetic issue which caused a warning to appear in stdout --- src/lime_sdl/lime_sdl.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/lime_sdl/lime_sdl.cpp b/src/lime_sdl/lime_sdl.cpp index cdd3a5978..a7e38e224 100644 --- a/src/lime_sdl/lime_sdl.cpp +++ b/src/lime_sdl/lime_sdl.cpp @@ -220,7 +220,7 @@ void LaunchSdlFrontend(int argc, char** argv) { }; while (optind < argc) { - int arg = getopt_long(argc, argv, "fg:hi:p:r:m:nvw", long_options, &option_index); + int arg = getopt_long(argc, argv, "d:fg:hi:p:r:a:m:nvw", long_options, &option_index); if (arg != -1) { switch (static_cast(arg)) { case 'd':