Use POSIXLY_CORRECT getopt in darling

Fix #350
This commit is contained in:
Viktor Oreshkin 2017-11-02 23:07:35 +03:00
parent d777989c8c
commit 89d6e6ddb1

View File

@ -122,7 +122,7 @@ int main(int argc, char ** argv, char ** envp)
};
int option_index = 0;
c = getopt_long(argc, argv, "", long_options, &option_index);
c = getopt_long(argc, argv, "+", long_options, &option_index);
if (c == -1)
{