Add missing lwext4_server option.
authorgkostka <kostka.grzegorz@gmail.com>
Tue, 8 Apr 2014 08:48:09 +0000 (08:48 +0000)
committergkostka <kostka.grzegorz@gmail.com>
Tue, 8 Apr 2014 08:48:09 +0000 (08:48 +0000)
fs_test/lwext4_server.c

index 9bc57986924d979189bb685689df75812fb4f703..6fec39a46d7de2607b069c9821c2c7e13be3868d 100644 (file)
@@ -282,7 +282,7 @@ static bool parse_opt(int argc, char **argv)
             {0, 0, 0, 0}\r
     };\r
 \r
-    while(-1 != (c = getopt_long (argc, argv, "i:p:v:w:c:", long_options, &option_index))) {\r
+    while(-1 != (c = getopt_long (argc, argv, "c:i:p:v:w:", long_options, &option_index))) {\r
 \r
         switch(c){\r
         case 'i':\r
@@ -297,6 +297,9 @@ static bool parse_opt(int argc, char **argv)
         case 'c':\r
             cache_wb = atoi(optarg);\r
             break;\r
+        case 'w':\r
+            winpart = atoi(optarg);\r
+            break;\r
         default:\r
             printf("%s", usage);\r
             return false;\r