diff options
author | Marijn Suijten <marijns95@gmail.com> | 2021-10-17 23:26:34 +0200 |
---|---|---|
committer | Marijn Suijten <marijns95@gmail.com> | 2021-10-20 17:16:21 +0200 |
commit | ca9b723afa7e2dc8b6f765be216aa4b935f4dcb5 (patch) | |
tree | efc93ff393ca874f5f03990f732d8d69910dc7de | |
parent | 8262815e94aa6716c20ba9a3f2737e5dd5e4adad (diff) |
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: <https://gitlab.freedesktop.org/pulseaudio/pulseaudio/-/merge_requests/647>
-rw-r--r-- | src/daemon/cmdline.c | 2 |
1 files changed, 1 insertions, 1 deletions
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 { |