From 4ee86fc5e4d3c0ea9a0ea28604df503c7b959dee Mon Sep 17 00:00:00 2001 From: Uli Schlachter Date: Wed, 19 Jan 2011 20:02:41 +0100 Subject: [PATCH] Make ./awesome -a work Some time ago I added a --no-argb option with the short-hand version -a. However, the short version didn't actually work. Whoops! Signed-off-by: Uli Schlachter --- awesome.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/awesome.c b/awesome.c index 5b2356a7..8749ccfc 100644 --- a/awesome.c +++ b/awesome.c @@ -365,7 +365,7 @@ main(int argc, char **argv) luaA_init(&xdg); /* check args */ - while((opt = getopt_long(argc, argv, "vhkc:", + while((opt = getopt_long(argc, argv, "vhkc:a", long_options, NULL)) != -1) switch(opt) {