mirror of
git://projects.qi-hardware.com/eda-tools.git
synced 2024-11-26 18:42:28 +02:00
sch2fig/main.c (main): zero optind to reset getopt
This commit is contained in:
parent
d8cef3308f
commit
97ac2297e1
@ -109,6 +109,7 @@ found:
|
|||||||
;
|
;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
optind = 0; /* reset getopt */
|
||||||
|
|
||||||
sch_init(&sch_ctx, recurse);
|
sch_init(&sch_ctx, recurse);
|
||||||
sch_parse(&sch_ctx, argv[dashdash - 1]);
|
sch_parse(&sch_ctx, argv[dashdash - 1]);
|
||||||
|
Loading…
Reference in New Issue
Block a user