parse command line args