Define $D^*=\mathbb{C} \backslash \lbrace z \in \mathbb{C}:\operatorname{Re}(z) \leq 0, \operatorname{Im}(z)=0 \rbrace$. Prove that $f(z)=\arg(z)$ is not analytic on $D^*$.
My proof is as follows:
Let $\arg(z)= \theta$. Then the function becomes $f(r,\theta)=\theta$. By using CR-equation in polar form, we obtain $ru_r=0=v_{\theta}$ and $u_{\theta}=1 \neq 0=-rv_r$. Hence, $f$ is not differentiable, which implies not analytic.
Is my proof correct?