clap: Remove deprecation warning
This commit is contained in:
@@ -7,8 +7,8 @@ use clap::{AppSettings, Parser};
|
|||||||
author = clap::crate_authors!("\n"),
|
author = clap::crate_authors!("\n"),
|
||||||
about = clap::crate_description!(),
|
about = clap::crate_description!(),
|
||||||
long_version = clap::crate_version!(),
|
long_version = clap::crate_version!(),
|
||||||
setting = AppSettings::DeriveDisplayOrder,
|
global_setting(AppSettings::DeriveDisplayOrder),
|
||||||
setting = AppSettings::PropagateVersion,
|
propagate_version = true,
|
||||||
)]
|
)]
|
||||||
pub struct Opts {
|
pub struct Opts {
|
||||||
#[clap(subcommand)]
|
#[clap(subcommand)]
|
||||||
|
|||||||
Reference in New Issue
Block a user