parse the command line