basic parsing of some command line options