fixed getopt parameter
authorpk910 <philipp@zoelle1.de>
Thu, 9 Feb 2012 17:01:59 +0000 (18:01 +0100)
committerpk910 <philipp@zoelle1.de>
Thu, 9 Feb 2012 17:01:59 +0000 (18:01 +0100)
src/main.c

index d9819ca4b96c5388af2ce216717d963f7199cc9e..79043b19452374fe9648859ccc074ca88e94163a 100644 (file)
@@ -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);