diff --git a/clap_derive/examples/hostname.rs b/clap_derive/examples/hostname.rs index 928b1d96..43ce8245 100644 --- a/clap_derive/examples/hostname.rs +++ b/clap_derive/examples/hostname.rs @@ -23,9 +23,9 @@ //! //! This example omits the implementation of displaying address config. -use clap::Clap; +use clap::Parser; -#[derive(Clap, Debug)] +#[derive(Parser, Debug)] #[clap(name = env!("CARGO_CRATE_NAME"), setting = clap::AppSettings::Multicall)] enum Args { /// Show the configured hostname