clap Arg::with_nameがArg::newに置き換わっていたのでメモ
clap = "3.0.0-beta.2"
において、
no function or associated item named `with_name` found for struct `clap::Arg<'_>` in the current scope function or associated item not found in `clap::Arg<'_>` help: there is an associated function with a similar name: `get_name`rustc(E0599)
というエラーがでてきた。
が、最新のclapでのCHANGE_LOGによれば、Arg::with_name
からArg::new
に変わっている様子。なので以下のように変更すればOK。
// Arg::with_name("verbose") Arg::new("verbose")