minor: Parser#convert_command - use case instead of if