浏览代码

~ Fixed getopt string not being correct

Signed-off-by: Alexis Maiquez <almamu@almamu.com>
Alexis Maiquez 7 年之前
父节点
当前提交
0ecc8b6e61
共有 1 个文件被更改,包括 1 次插入 和 1 次删除
  1. 1 1
      main.cpp

+ 1 - 1
main.cpp

@@ -190,7 +190,7 @@ int main (int argc, char* argv[])
 
     while (true)
     {
-        int c = getopt_long (argc, argv, "r:p:d:sh", long_options, &option_index);
+        int c = getopt_long (argc, argv, "r:p:d:shf:", long_options, &option_index);
 
         if (c == -1)
             break;