From 81b3d31e3314360d784218f9728faf271c13480e Mon Sep 17 00:00:00 2001 From: Erwan Date: Wed, 8 Nov 2023 20:18:08 -0500 Subject: [PATCH] pd: disable tokio console support by default --- crates/bin/pd/src/main.rs | 2 +- crates/narsil/narsil/src/bin/narsild.rs | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/crates/bin/pd/src/main.rs b/crates/bin/pd/src/main.rs index 085d05f493..7648144331 100644 --- a/crates/bin/pd/src/main.rs +++ b/crates/bin/pd/src/main.rs @@ -44,7 +44,7 @@ use tendermint::v0_37::abci::{ConsensusRequest, MempoolRequest}; )] struct Opt { /// Enable Tokio Console support. - #[clap(long, default_value = "false")] + #[clap(long)] tokio_console: bool, /// Command to run. #[clap(subcommand)] diff --git a/crates/narsil/narsil/src/bin/narsild.rs b/crates/narsil/narsil/src/bin/narsild.rs index 51113594c9..14f856f683 100644 --- a/crates/narsil/narsil/src/bin/narsild.rs +++ b/crates/narsil/narsil/src/bin/narsild.rs @@ -37,7 +37,7 @@ use url::Url; )] struct Opt { /// Enable Tokio Console support. - #[clap(long, default_value = "false")] + #[clap(long)] tokio_console: bool, /// Command to run. #[clap(subcommand)]