From ee82fe230d206faef2e0155d13908093b78e5195 Mon Sep 17 00:00:00 2001 From: Marko Lindqvist Date: Wed, 6 Apr 2022 07:24:19 +0300 Subject: [PATCH 11/11] 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-2.0/gui_main.c | 3 +-- client/gui-gtk-3.0/gui_main.c | 3 +-- client/gui-gtk-3.22/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-2.0/gui_main.c b/client/gui-gtk-2.0/gui_main.c index f500c8bb8d..608b84beef 100644 --- a/client/gui-gtk-2.0/gui_main.c +++ b/client/gui-gtk-2.0/gui_main.c @@ -272,8 +272,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 command line options. Right now, it's just help. **************************************************************************/ static void parse_options(int argc, char **argv) { diff --git a/client/gui-gtk-3.0/gui_main.c b/client/gui-gtk-3.0/gui_main.c index cf38f05bc3..cfbea02525 100644 --- a/client/gui-gtk-3.0/gui_main.c +++ b/client/gui-gtk-3.0/gui_main.c @@ -285,8 +285,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 9e324f8e20..fbedf47efe 100644 --- a/client/gui-gtk-3.22/gui_main.c +++ b/client/gui-gtk-3.22/gui_main.c @@ -271,8 +271,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 a6e71793e7..ce5d59aadd 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 2632d3596b..8abe15b74f 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