The standard argument uses the observation that for any $\displaystyle \epsilon>0$, there are only finitely many points $\displaystyle a_i$ such that $\displaystyle f(a_i)>\epsilon$.
Spoiler:
It's straightforward to show $\displaystyle f$ is discontinuous at any rational point just using the fact that any interval contains an irrational number.
Spoiler: