Remove obsolete version of getOpt

Delete getOptV1 which was replaced with getOptV2.