Pedantism

Webster's Dictionary of the English Language

·noun The office, disposition, or act of a pedant; pedantry.