1
0
mirror of git://projects.qi-hardware.com/eda-tools.git synced 2024-11-26 15:15:20 +02:00

sch2fig/main.c (main): zero optind to reset getopt

This commit is contained in:
Werner Almesberger 2016-08-01 01:33:50 -03:00
parent d8cef3308f
commit 97ac2297e1

View File

@ -109,6 +109,7 @@ found:
;
}
optind = 0; /* reset getopt */
sch_init(&sch_ctx, recurse);
sch_parse(&sch_ctx, argv[dashdash - 1]);