Add CLI flag to enable debug logs

For bug reports, it's useful to ask for a debug log. However there's
no way for users to enable debug logs without recompiling. Add a
CLI flag to do so.
This commit is contained in:
Simon Ser 2024-11-12 13:45:17 +01:00
parent 0208f565dc
commit 852839e59f
3 changed files with 17 additions and 7 deletions

View file

@ -6,7 +6,7 @@ cage - a Wayland kiosk compositor
# SYNOPSIS
*cage* [-dhmrsv] [--] _application_ [application argument ...]
*cage* [options...] [--] _application_ [application argument ...]
# DESCRIPTION
@ -19,6 +19,9 @@ activities outside the scope of the running application are prevented.
*-d*
Don't draw client side decorations when possible.
*-D*
Enable debug logging.
*-h*
Show the help message.