From 7e4fcf1be895b7c92d3d5e3498cf1b467708994c Mon Sep 17 00:00:00 2001 From: Behdad Esfahbod Date: Wed, 11 Aug 2021 12:12:49 -0600 Subject: [PATCH] [util] Rename add_main_options --- util/options.hh | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/util/options.hh b/util/options.hh index 824981fe5..6a729036a 100644 --- a/util/options.hh +++ b/util/options.hh @@ -103,7 +103,7 @@ struct option_parser_t g_ptr_array_free (to_free, TRUE); } - void add_main_options (); + void add_options (); static void post_parse_ (void *thiz, GError **error) {} @@ -187,7 +187,7 @@ show_version (const char *name G_GNUC_UNUSED, } inline void -option_parser_t::add_main_options () +option_parser_t::add_options () { GOptionEntry entries[] = { @@ -201,7 +201,7 @@ option_parser_t::add_main_options () inline void option_parser_t::parse (int *argc, char ***argv) { - add_main_options (); + add_options (); setlocale (LC_ALL, "");