pedantism (pedant + -ism; doctrine_practice)
Behaving or acting in the manner of a pedant