From 947fb5c956beb7546e2fc220fe9316c273690b9c Mon Sep 17 00:00:00 2001 From: Pavo-Tusker <43550760+pavo-tusker@users.noreply.github.com> Date: Wed, 17 Aug 2022 18:49:52 +0530 Subject: [PATCH] Update meilisearch-http/src/option.rs Co-authored-by: Tamo --- meilisearch-http/src/option.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/meilisearch-http/src/option.rs b/meilisearch-http/src/option.rs index 0f1e356e7..5bc576823 100644 --- a/meilisearch-http/src/option.rs +++ b/meilisearch-http/src/option.rs @@ -146,8 +146,8 @@ pub struct Opt { #[clap(long, env = "MEILI_LOG_LEVEL", default_value = "info")] pub log_level: String, - // Enables Prometheus metrics and /metrics route. - #[clap(long, requires = "enable-metrics-route")] + /// Enables Prometheus metrics and /metrics route. + #[clap(long)] pub enable_metrics_route: bool, #[serde(flatten)]