Handling bad command lines