Pedantry

Pedantry is an excessive concern with formalism, accuracy, and precision, or an ostentatious and arrogant show of learning. Stubborn and excessive concern with minor details and rules, demanding others to follow them.