os: add a generic -verbose option instead of making each server add its own

Replaces Xwayland's server-specific implementation, but leaves Xorg's
since it sets global variables in the xfree86 ddx layer.  Also leaves
Xephyr's differently-spelled "-verbosity" for backwards compatibility.

Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
Part-of: <https://gitlab.freedesktop.org/xorg/xserver/-/merge_requests/2131>
This commit is contained in:
Alan Coopersmith
2026-03-14 15:17:42 +02:00
committed by Enrico Weigelt
parent 3ee086b897
commit 465742c7b4
3 changed files with 29 additions and 1 deletions

View File

@@ -306,6 +306,15 @@ sets video-off screen-saver preference.
.B \-v
sets video-on screen-saver preference.
.TP 8
.BR \-verbose " [\fIn\fP]"
Sets the verbosity level for information printed on stderr. If the
.I n
value isn't supplied, each occurrence of this option increments the
verbosity level. When the
.I n
value is supplied, the verbosity level is set to that value. The default
verbosity level is 0.
.TP 8
.B \-wr
sets the default root window to solid white instead of the standard root weave
pattern.