vexillology

the systematic study of flags and their meanings, history, etc.