Handle -V option correctly