In #3973 we switched to using an internal getopt implementation unconditionally, but there turns out to be an issue with missing option arguments which lead to crashes. Address that.
Now we handle it gracefully:
$ ./yosys -p
./yosys: option '-p' expects an argument
Run './yosys -h' for help.
In #3973 we switched to using an internal
getopt
implementation unconditionally, but there turns out to be an issue with missing option arguments which lead to crashes. Address that.Now we handle it gracefully: