cli quits when given an incorrect command