From 41249be27423b25cbc4a447dd0262bc9d27972df Mon Sep 17 00:00:00 2001 From: Paul Sanders Date: Tue, 12 Apr 2022 15:22:36 -0400 Subject: [PATCH] Add version flag --- meilisearch-http/src/option.rs | 1 + 1 file changed, 1 insertion(+) diff --git a/meilisearch-http/src/option.rs b/meilisearch-http/src/option.rs index 9fefb4231..04b61f74e 100644 --- a/meilisearch-http/src/option.rs +++ b/meilisearch-http/src/option.rs @@ -19,6 +19,7 @@ use serde::Serialize; const POSSIBLE_ENV: [&str; 2] = ["development", "production"]; #[derive(Debug, Clone, Parser, Serialize)] +#[clap(version)] pub struct Opt { /// The destination where the database must be created. #[clap(long, env = "MEILI_DB_PATH", default_value = "./data.ms")]