commit 0bdefa4: [Test] Use --help from doctest and not glib
Vsevolod Stakhov
vsevolod at highsecure.ru
Tue Jun 22 16:21:05 UTC 2021
Author: Vsevolod Stakhov
Date: 2021-06-21 20:27:46 +0100
URL: https://github.com/rspamd/rspamd/commit/0bdefa4ef9ee527bded68db02f15dae5df8e0d0c
[Test] Use --help from doctest and not glib
---
test/rspamd_cxx_unit.cxx | 1 +
1 file changed, 1 insertion(+)
diff --git a/test/rspamd_cxx_unit.cxx b/test/rspamd_cxx_unit.cxx
index e67060dca..cf3271d96 100644
--- a/test/rspamd_cxx_unit.cxx
+++ b/test/rspamd_cxx_unit.cxx
@@ -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;
More information about the Commits
mailing list