clap: Remove deprecation warning

This commit is contained in:
2022-02-21 20:28:30 +01:00
parent 92092ed4af
commit 584f68ba42

View File

@@ -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)]