Skip to content
Snippets Groups Projects
Commit 120bc9b8 authored by Eric Vidal's avatar Eric Vidal :speech_balloon:
Browse files

prefer subgetopt_r for now

parent 980d7c4b
No related branches found
No related tags found
No related merge requests found
......@@ -65,9 +65,9 @@ int ssexec_parse(int argc, char const *const *argv, ssexec_t *info)
for (;;)
{
int opt = getopt_args(argc,argv, ">" OPTS_PARSE, &l) ;
int opt = subgetopt_r(argc,argv, OPTS_PARSE, &l) ;
if (opt == -1) break ;
if (opt == -2) log_die(LOG_EXIT_USER, "options must be set first") ;
switch (opt)
{
case 'f' :
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment