mirror of
https://github.com/clap-rs/clap
synced 2024-12-14 06:42:33 +00:00
fixup! Fix rename of clap::Clap to Parser
This commit is contained in:
parent
f14db03eec
commit
11492adb2c
1 changed files with 2 additions and 2 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue