A meromorphic function $f$ is called meromorphic herglotz function if $\mathrm{Im}(z)>0$ implies $\mathrm{Im}(f(z))>0$
I need to prove that all the poles and zeros of $f$ are in $\mathbb{R}$. Morover, each pole and zero is simple and the poles and zeros alterante.
There is a proof here, but I can't understand why $\operatorname{arg}(f)$ takes all the values in $[0,2\pi)$ and why that implies that all the zeros and poles are in $\mathbb{R}$.
