aboutsummaryrefslogtreecommitdiff
path: root/src/main.c
diff options
context:
space:
mode:
authorAleksander Morgado <aleksander@aleksander.es>2017-05-18 12:43:49 +0200
committerAleksander Morgado <aleksander@aleksander.es>2017-05-29 12:37:36 +0200
commit3bb0f7e66d8203a1dc78eb6d404e29aefef6a88c (patch)
treef3bb51f9f3d60b44270e773a40ed007b593148bc /src/main.c
parent51bb354624865414e8a036e3502c1b713999ec1f (diff)
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).
Diffstat (limited to 'src/main.c')
-rw-r--r--src/main.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/main.c b/src/main.c
index ada3927c..cb0e923d 100644
--- a/src/main.c
+++ b/src/main.c
@@ -141,8 +141,8 @@ main (int argc, char *argv[])
if (!mm_log_setup (mm_context_get_log_level (),
mm_context_get_log_file (),
- mm_context_get_timestamps (),
- mm_context_get_relative_timestamps (),
+ mm_context_get_log_timestamps (),
+ mm_context_get_log_relative_timestamps (),
mm_context_get_debug (),
&err)) {
g_warning ("Failed to set up logging: %s", err->message);