Update meilisearch-http/src/option.rs

Co-authored-by: Tamo <irevoire@protonmail.ch>
This commit is contained in:
Pavo-Tusker 2022-08-17 18:49:52 +05:30 committed by mohandasspat
parent cd18459484
commit 947fb5c956

View File

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