Add a method to check string values, since optparse will consume the next