Bump clap from 3.0.14 to 3.1.1 (#4968)

* Bump clap from 3.0.14 to 3.1.1

Bumps [clap](https://github.com/clap-rs/clap) from 3.0.14 to 3.1.1.
- [Release notes](https://github.com/clap-rs/clap/releases)
- [Changelog](https://github.com/clap-rs/clap/blob/master/CHANGELOG.md)
- [Commits](https://github.com/clap-rs/clap/compare/v3.0.14...v3.1.1)

---
updated-dependencies:
- dependency-name: clap
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>

* avoid deprecated AppSettings::Hidden

* avoid another deprecated instance

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Bernhard Schuster <bernhard@ahoi.io>
This commit is contained in:
dependabot[bot]
2022-02-23 08:31:42 +00:00
committed by GitHub
parent 4ff40eb562
commit 8aff3cb81b
9 changed files with 16 additions and 16 deletions
+3 -3
View File
@@ -16,7 +16,7 @@
//! Polkadot CLI library.
use clap::{AppSettings, Parser};
use clap::Parser;
#[allow(missing_docs)]
#[derive(Debug, Parser)]
@@ -43,11 +43,11 @@ pub enum Subcommand {
Revert(sc_cli::RevertCmd),
#[allow(missing_docs)]
#[clap(name = "prepare-worker", setting = AppSettings::Hidden)]
#[clap(name = "prepare-worker", hide = true)]
PvfPrepareWorker(ValidationWorkerCommand),
#[allow(missing_docs)]
#[clap(name = "execute-worker", setting = AppSettings::Hidden)]
#[clap(name = "execute-worker", hide = true)]
PvfExecuteWorker(ValidationWorkerCommand),
/// The custom benchmark subcommand benchmarking runtime pallets.