There are still a few places in the code that could do with some pretty significant cleanup.
[x] #36
[x] We opted for using goto to simplify cleanup code, but now that we are forced to keep our state global (to deal with signal handling), this is actually unnecessary and less clean than it could be
[x] Option Validation (#31) still could use a bit of work; ideally, we should be able to completely remove the option validation function.
For the moment, an option validation function is the simplest way to handle some of the option incompatibilities.
There are still a few places in the code that could do with some pretty significant cleanup.
goto
to simplify cleanup code, but now that we are forced to keep our state global (to deal with signal handling), this is actually unnecessary and less clean than it could beOption Validation (#31) still could use a bit of work; ideally, we should be able to completely remove the option validation function.For the moment, an option validation function is the simplest way to handle some of the option incompatibilities.