From: pk910 Date: Thu, 9 Feb 2012 17:01:59 +0000 (+0100) Subject: fixed getopt parameter X-Git-Tag: v5.3~19 X-Git-Url: http://git.pk910.de/?p=NeonServV5.git;a=commitdiff_plain;h=0e63b966fea89cabaf1d859a28382b350721eb40 fixed getopt parameter --- diff --git a/src/main.c b/src/main.c index d9819ca..79043b1 100644 --- a/src/main.c +++ b/src/main.c @@ -168,7 +168,7 @@ int main(int argc, char *argv[]) { {"version", 0, 0, 'v'}, {0, 0, 0, 0} }; - while ((c = getopt_long(argc, argv, "c:dfhkr:v", options, NULL)) != -1) { + while ((c = getopt_long(argc, argv, "s:fvh", options, NULL)) != -1) { switch (c) { case 's': print_loglevel = atoi(optarg);