From 8b73362abf009f9e4e1375aed94988aab86bdb75 Mon Sep 17 00:00:00 2001 From: Marko Lindqvist Date: Wed, 6 Apr 2022 07:16:29 +0300 Subject: [PATCH 22/22] 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.0/gui_main.c | 3 +-- 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 +- 5 files changed, 5 insertions(+), 9 deletions(-) diff --git a/client/gui-gtk-3.0/gui_main.c b/client/gui-gtk-3.0/gui_main.c index 94404c02fe..8cdc3e5414 100644 --- a/client/gui-gtk-3.0/gui_main.c +++ b/client/gui-gtk-3.0/gui_main.c @@ -281,8 +281,7 @@ static void log_gtk_warns(const gchar *log_domain, GLogLevelFlags log_level, } /**********************************************************************//** - 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-3.22/gui_main.c b/client/gui-gtk-3.22/gui_main.c index 2422e37840..10ecf1e88d 100644 --- a/client/gui-gtk-3.22/gui_main.c +++ b/client/gui-gtk-3.22/gui_main.c @@ -267,8 +267,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 7ae7211775..2945627a1c 100644 --- a/client/gui-gtk-4.0/gui_main.c +++ b/client/gui-gtk-4.0/gui_main.c @@ -256,8 +256,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