Commit b288eb88 authored by Hisham Muhammad's avatar Hisham Muhammad
Browse files

minor change to improve portability

parent 3e265ce4
...@@ -285,7 +285,7 @@ int main(int argc, char** argv) { ...@@ -285,7 +285,7 @@ int main(int argc, char** argv) {
setlocale(LC_CTYPE, getenv("LC_ALL")); setlocale(LC_CTYPE, getenv("LC_ALL"));
/* Parse arguments */ /* Parse arguments */
while ((opt = getopt_long_only(argc, argv, "hvCs:d:u:", long_opts, &opti))) { while ((opt = getopt_long(argc, argv, "hvCs:d:u:", long_opts, &opti))) {
if (opt == EOF) break; if (opt == EOF) break;
switch (opt) { switch (opt) {
case 'h': case 'h':
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment