properly parse flags
lint