]> source.dussan.org Git - rspamd.git/commitdiff
[Test] Use --help from doctest and not glib
authorVsevolod Stakhov <vsevolod@highsecure.ru>
Mon, 21 Jun 2021 19:27:46 +0000 (20:27 +0100)
committerVsevolod Stakhov <vsevolod@highsecure.ru>
Mon, 21 Jun 2021 19:27:46 +0000 (20:27 +0100)
test/rspamd_cxx_unit.cxx

index e67060dcad6363e67f1f426b857cd839d4d2051c..cf3271d9671d86e755fe437c3998c4708ad18c0f 100644 (file)
@@ -50,6 +50,7 @@ main(int argc, char **argv) {
        options_context = g_option_context_new("- run rspamd cxx test");
        g_option_context_add_main_entries(options_context, entries, NULL);
        g_option_context_set_ignore_unknown_options(options_context, true);
+       g_option_context_set_help_enabled(options_context, false);
 
        GError *error = NULL;