From a606b5e94ad7e8e66803ad6c9a4257c13b1c5664 Mon Sep 17 00:00:00 2001 From: Horror Proton <107091537+horror-proton@users.noreply.github.com> Date: Mon, 23 Dec 2024 21:49:50 +0800 Subject: [PATCH] Fix getopt("D") --- cage.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cage.c b/cage.c index 631b95a..8f14746 100644 --- a/cage.c +++ b/cage.c @@ -242,7 +242,7 @@ static bool parse_args(struct cg_server *server, int argc, char *argv[]) { int c; - while ((c = getopt(argc, argv, "dhm:sv")) != -1) { + while ((c = getopt(argc, argv, "dDhm:sv")) != -1) { switch (c) { case 'd': server->xdg_decoration = true;