Mostly sane C command line option parser