From b7a57f2a62c8c0d9242c8ed23adc4fce393976f1 Mon Sep 17 00:00:00 2001 From: Michael Gehring Date: Fri, 30 May 2008 19:42:47 +0200 Subject: [PATCH] remove bogus commandline options -k and -s are not implemented so remove them. Signed-off-by: Julien Danjou --- awesome.c | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/awesome.c b/awesome.c index fd361303..335b1d0e 100644 --- a/awesome.c +++ b/awesome.c @@ -263,8 +263,7 @@ exit_help(int exit_code) "Usage: awesome [OPTION]\n\ -h, --help show help\n\ -v, --version show version\n\ - -c, --config FILE configuration file to use\n\ - -k, --check check configuration file syntax\n"); + -c, --config FILE configuration file to use\n"); exit(exit_code); } @@ -312,7 +311,7 @@ main(int argc, char **argv) } /* check args */ - while((opt = getopt_long(argc, argv, "vhkc:s", + while((opt = getopt_long(argc, argv, "vhc:", long_options, NULL)) != -1) switch(opt) {