Browse Source

~ Fixed getopt string not being correct

Signed-off-by: Alexis Maiquez <almamu@almamu.com>
Alexis Maiquez 7 năm trước cách đây
mục cha
commit
0ecc8b6e61
1 tập tin đã thay đổi với 1 bổ sung và 1 xóa
  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;