From ca9b723afa7e2dc8b6f765be216aa4b935f4dcb5 Mon Sep 17 00:00:00 2001 From: Marijn Suijten Date: Sun, 17 Oct 2021 23:26:34 +0200 Subject: [PATCH] daemon/cmdline: Invert log-level list to match numerical values Just like the manpage these written out log levels should correspond to the numerical values listed before, intead of being in the opposite order and provoking thoughts of the relation being the wrong way around where 0=debug and 4=error. Part-of: --- src/daemon/cmdline.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/daemon/cmdline.c b/src/daemon/cmdline.c index b32559665..c89cd3151 100644 --- a/src/daemon/cmdline.c +++ b/src/daemon/cmdline.c @@ -262,7 +262,7 @@ int pa_cmdline_parse(pa_daemon_conf *conf, int argc, char *const argv [], int *d if (optarg) { if (pa_daemon_conf_set_log_level(conf, optarg) < 0) { - pa_log(_("--log-level expects log level argument (either numeric in range 0..4 or one of debug, info, notice, warn, error).")); + pa_log(_("--log-level expects log level argument (either numeric in range 0..4 or one of error, warn, notice, info, debug).")); goto fail; } } else {