This now seems to be working. There are some evil hacks, especially for
the -ve option combination but it seems that we have a winner.
Added a bunch more option parsing tests which picked up -ILL passed but
-VTALRM did not. Not sure why, but length seems my guess