Fix missed example update from rust-lang/rust

This Rust PR [#19695](https://github.com/rust-lang/rust/pull/19695) was not applied here when getopts separated from rust-lang/rust.

I decided to take the initiative to bring the changes that were already merged there and apply them back here.