Commit f51a60f7 authored by Rusty Russell's avatar Rusty Russell

opt: get rid of last remnant of getopt.

Testing code still using it.
parent a6b5111f
......@@ -3,7 +3,6 @@
#include <stdarg.h>
#include <stdlib.h>
#include <ccan/opt/opt.h>
#include <getopt.h>
#include <string.h>
#include <stdio.h>
#include "utils.h"
......@@ -77,8 +76,6 @@ bool parse_args(int *argc, char ***argv, ...)
*argv = a;
allocated = true;
/* Re-set before parsing. */
optind = 0;
return opt_parse(argc, *argv, save_err_output);
}
......
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