getopts: rm implicit vector copies