From 3d53b2c131914da48fe8873f4133995bd42dbdcc Mon Sep 17 00:00:00 2001 From: Přemysl Eric Janouch Date: Tue, 12 Oct 2021 01:25:10 +0200 Subject: Fix g_option_context_get_help() usage --- src/add-pronunciation.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/add-pronunciation.c') diff --git a/src/add-pronunciation.c b/src/add-pronunciation.c index 9aedd42..90d9673 100644 --- a/src/add-pronunciation.c +++ b/src/add-pronunciation.c @@ -284,7 +284,7 @@ G_GNUC_END_IGNORE_DEPRECATIONS fatal ("Error: option parsing failed: %s\n", error->message); if (argc != 3) - fatal ("%s", g_option_context_get_help (ctx, TRUE, FALSE)); + fatal ("%s", g_option_context_get_help (ctx, TRUE, NULL)); g_option_context_free (ctx); -- cgit v1.2.3-70-g09d2