|
- Change argument parsing library from xgetopt to optparse (pretty close to a
drop-in replacement).
- Fix bugs in the argument parsing. There were several.
- Remove an extraneous printf added for debugging purposes.
- Add more bounds checks for numeric arguments to avoid passing garbage to the
library code and hitting assertions when the input is bad.
- Change the clang-format invocation in the Makefile to have --verbose.
- Change -Wpedantic to --pedantic-errors in CFLAGS, add -Wno-unused-function
so it doesn't complain about the ones from optparse (such are the perils of
single-header libraries).
|