Update for getopts changes in latest Rust