Explorar o código

~ Fixed getopt string not being correct

Signed-off-by: Alexis Maiquez <almamu@almamu.com>
Alexis Maiquez %!s(int64=7) %!d(string=hai) anos
pai
achega
0ecc8b6e61
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  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;