From 4b66bb935cbb7c1336ab409854e86cab5c3a9c89 Mon Sep 17 00:00:00 2001 From: Aire-One Date: Mon, 30 Sep 2019 15:53:21 +0200 Subject: [PATCH] Allow `getopt_long` call to manage the `-m` option (short of `--screen`). --- awesome.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/awesome.c b/awesome.c index f5fddd06..86a4e777 100644 --- a/awesome.c +++ b/awesome.c @@ -621,7 +621,7 @@ main(int argc, char **argv) setlocale(LC_CTYPE, ""); /* check args */ - while((opt = getopt_long(argc, argv, "vhkc:ar", + while((opt = getopt_long(argc, argv, "vhkc:arm:", long_options, NULL)) != -1) switch(opt) {