conf: fix --help handling

Handle --help same way as -h.

Signed-off-by: David Herrmann <dh.herrmann@googlemail.com>
This commit is contained in:
David Herrmann committed 2012-03-23 17:41:52 +01:00
1 parent a4bd71cd0c
commit c8b247785c
1 file changed
+1 -1
+1 -1
View File
@@ -59,7 +59,7 @@ int conf_parse_argv(int argc, char **argv)
int show_help = 0;
char short_options[] = ":hv";
struct option long_options[] = {
{ "help", no_argument, &show_help, 1 },
{ "help", no_argument, NULL, 'h' },
{ "verbose", no_argument, NULL, 'v' },
{ "debug", no_argument, &conf_global.debug, 1 },
{ NULL, 0, NULL, 0 },