From 3bb0f7e66d8203a1dc78eb6d404e29aefef6a88c Mon Sep 17 00:00:00 2001 From: Aleksander Morgado Date: Thu, 18 May 2017 12:43:49 +0200 Subject: context: rework application options and help output Group together all options that allow configuring the logging output, and make them have the same --log-[XXX] prefix. Also rework the --help output so that all option groups are printed by default (i.e. there is no longer a --help-all option). --- src/mm-context.h | 12 +++++++----- 1 file changed, 7 insertions(+), 5 deletions(-) (limited to 'src/mm-context.h') diff --git a/src/mm-context.h b/src/mm-context.h index 63a8ec4c..e355692f 100644 --- a/src/mm-context.h +++ b/src/mm-context.h @@ -23,17 +23,19 @@ # define MM_DIST_VERSION VERSION #endif -void mm_context_init (gint argc, +void mm_context_init (gint argc, gchar **argv); gboolean mm_context_get_debug (void); -const gchar *mm_context_get_log_level (void); -const gchar *mm_context_get_log_file (void); -gboolean mm_context_get_timestamps (void); -gboolean mm_context_get_relative_timestamps (void); const gchar *mm_context_get_initial_kernel_events (void); gboolean mm_context_get_no_auto_scan (void); +/* Logging support */ +const gchar *mm_context_get_log_level (void); +const gchar *mm_context_get_log_file (void); +gboolean mm_context_get_log_timestamps (void); +gboolean mm_context_get_log_relative_timestamps (void); + /* Testing support */ gboolean mm_context_get_test_session (void); gboolean mm_context_get_test_enable (void); -- cgit v1.2.3-70-g09d2