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 2b8f3c26ec
commit a58b00d8f1

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