Print SemanticError in command line tool