From 6fea5e73e370d0d244f84c6321ea5d94019d5311 Mon Sep 17 00:00:00 2001 From: Marko Lindqvist Date: Wed, 6 Apr 2022 07:16:29 +0300 Subject: [PATCH 31/31] Clients: Correct parse_options() function headers Remove claims that there isn't any gui-specific options yet. Other minor adjustments on some guis. See osdn #44119 Signed-off-by: Marko Lindqvist --- client/gui-gtk-3.22/gui_main.c | 3 +-- client/gui-gtk-4.0/gui_main.c | 3 +-- client/gui-sdl2/gui_main.c | 3 +-- client/gui-stub/gui_main.c | 2 +- 4 files changed, 4 insertions(+), 7 deletions(-) diff --git a/client/gui-gtk-3.22/gui_main.c b/client/gui-gtk-3.22/gui_main.c index 0941e9fa4b..83a683a9df 100644 --- a/client/gui-gtk-3.22/gui_main.c +++ b/client/gui-gtk-3.22/gui_main.c @@ -286,8 +286,7 @@ static void print_usage(void) } /**********************************************************************//** - Search for command line options. right now, it's just help - semi-useless until we have options that aren't the same across all clients. + Search for gui-specific command-line options. **************************************************************************/ static void parse_options(int argc, char **argv) { diff --git a/client/gui-gtk-4.0/gui_main.c b/client/gui-gtk-4.0/gui_main.c index 3697fd11c2..a12c675116 100644 --- a/client/gui-gtk-4.0/gui_main.c +++ b/client/gui-gtk-4.0/gui_main.c @@ -275,8 +275,7 @@ static void print_usage(void) } /**********************************************************************//** - Search for command line options. right now, it's just help - semi-useless until we have options that aren't the same across all clients. + Search for gui-specific command line options. **************************************************************************/ static void parse_options(int argc, char **argv) { diff --git a/client/gui-sdl2/gui_main.c b/client/gui-sdl2/gui_main.c index edabc94f52..4dbac53e18 100644 --- a/client/gui-sdl2/gui_main.c +++ b/client/gui-sdl2/gui_main.c @@ -174,8 +174,7 @@ static void print_usage(void) } /**********************************************************************//** - Search for command line options. right now, it's just help - semi-useless until we have options that aren't the same across all clients. + Search for gui-specific command-line options. **************************************************************************/ static void parse_options(int argc, char **argv) { diff --git a/client/gui-stub/gui_main.c b/client/gui-stub/gui_main.c index 1c04dc7a02..32728aedef 100644 --- a/client/gui-stub/gui_main.c +++ b/client/gui-stub/gui_main.c @@ -71,7 +71,7 @@ static void print_usage(const char *argv0) } /**********************************************************************//** - Parse and enact any client-specific options. + Parse and enact any gui-specific command-line options. **************************************************************************/ static void parse_options(int argc, char **argv) { -- 2.35.1