From 0e63b966fea89cabaf1d859a28382b350721eb40 Mon Sep 17 00:00:00 2001 From: pk910 Date: Thu, 9 Feb 2012 18:01:59 +0100 Subject: [PATCH] fixed getopt parameter --- src/main.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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); -- 2.20.1