This is a real-world medical entrance exam question, please give the true answer based on the question and selection. Topic name: None, Subject name: Pharmacology
[{'content': 'Mechanism of action of terbinafine is ? \nSelect and explain. \nA. Binds to ergosterol, B. Prevents formation of purine, C. Inhition of micro-tubule formation, D. Inhibition of ergosterol synthesis', 'role': 'user'}, {'content': 'Answer: D \nExplanation: None', 'role': 'assistant'}]