aboutsummaryrefslogtreecommitdiff
path: root/man/seatd.1.scd
diff options
context:
space:
mode:
authorKenny Levinsen <kl@kl.wtf>2022-02-26 19:05:49 +0100
committerKenny Levinsen <kl@kl.wtf>2022-02-26 19:17:26 +0100
commit9bbdf0f0b8d383edd1d621507c04db0a5382a5af (patch)
tree319802f0b4a9bc6a406b9e04ed6954a7eef5dcc0 /man/seatd.1.scd
parent3eb0db57bb1c23b5157279223f248d58d9662aae (diff)
seatd: Command-line argument for loglevel
SEATD_LOGLEVEL was used to set the loglevel despite already having getopt in place. Remove the environment variable and make a command-line argument for it instead.
Diffstat (limited to 'man/seatd.1.scd')
-rw-r--r--man/seatd.1.scd16
1 files changed, 4 insertions, 12 deletions
diff --git a/man/seatd.1.scd b/man/seatd.1.scd
index de95843..2de4326 100644
--- a/man/seatd.1.scd
+++ b/man/seatd.1.scd
@@ -27,6 +27,10 @@ seatd - A seat management daemon
*-s <path>*
Where to create the seatd socket. Defaults to `/run/seatd.sock`.
+*-l <loglevel>*
+ Log-level to use. Must be one of debug, info, error or silent. Defaults
+ to error.
+
*-v*
Show the version number and quit.
@@ -38,18 +42,6 @@ such as displays and input devices in a multi-session, multi-seat environment.
seatd operates over a UNIX domain socket, with *libseat* providing the
client-side of the protocol.
-# ENVIRONMENT
-
-[[ *VARIABLE*
-:[ *VALUES*
-:< *DESCRIPTION*
-| SEATD_SOCK
-: File path
-: Informs libseat of the socket location, needed if it differs from `/run/seatd.sock`
-| SEATD_LOGLEVEL
-: silent, error, info, debug
-: Sets the seatd log level. Defaults to "error"
-
# SEE ALSO
The libseat library, *<libseat.h>*, *seatd-launch*(1)