fixup! Fix rename of clap::Clap to Parser

This commit is contained in:
Richard Maw 2021-10-11 20:14:46 +01:00
parent f14db03eec
commit 11492adb2c

View file

@ -23,9 +23,9 @@
//! //!
//! This example omits the implementation of displaying address config. //! 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)] #[clap(name = env!("CARGO_CRATE_NAME"), setting = clap::AppSettings::Multicall)]
enum Args { enum Args {
/// Show the configured hostname /// Show the configured hostname