PulseAudio Marge Bot pushed to branch master at PulseAudio / pulseaudio


Commits:
ca9b723a by Marijn Suijten at 2021-10-20T17:16:21+02:00
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>

- - - - -


1 changed file:

- src/daemon/cmdline.c


Changes:

=====================================
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 {



View it on GitLab: 
https://gitlab.freedesktop.org/pulseaudio/pulseaudio/-/commit/ca9b723afa7e2dc8b6f765be216aa4b935f4dcb5

-- 
View it on GitLab: 
https://gitlab.freedesktop.org/pulseaudio/pulseaudio/-/commit/ca9b723afa7e2dc8b6f765be216aa4b935f4dcb5
You're receiving this email because of your account on gitlab.freedesktop.org.


Reply via email to