Simple generic command line options parser