remove bogus commandline options

-k and -s are not implemented so remove them.

Signed-off-by: Julien Danjou <julien@danjou.info>
This commit is contained in:
Michael Gehring 2008-05-30 19:42:47 +02:00 committed by Julien Danjou
parent b62fda99c3
commit b7a57f2a62
1 changed files with 2 additions and 3 deletions

View File

@ -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)
{