cli: normalize `_` → `-` when parsing options
This allows for option syntax similar to V8’s one, e.g. --no_warnings
has the same effect as --no-warnings
.
Checklist
-
make -j4 test
(UNIX), orvcbuild test
(Windows) passes -
tests and/or benchmarks are included -
documentation is changed or added -
commit message follows commit guidelines