From 4d27318b727c96d5d7b150abe2eb30a83eca12bf Mon Sep 17 00:00:00 2001 From: qdequele Date: Mon, 2 Mar 2020 16:56:11 +0100 Subject: [PATCH] remove unnecessary comment on env Opt; #491 --- meilisearch-http/src/option.rs | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/meilisearch-http/src/option.rs b/meilisearch-http/src/option.rs index 34a036732..7fa7aa1ca 100644 --- a/meilisearch-http/src/option.rs +++ b/meilisearch-http/src/option.rs @@ -17,9 +17,9 @@ pub struct Opt { pub master_key: Option, /// This environment variable must be set to `production` if your are running in production. - /// Could be `production` or `development` - /// - `production`: Force api keys - /// - `development`: Show logs in "info" mode + not mendatory to specify the api keys + /// If the server is running in development mode more logs will be displayed, + /// and the master key can be avoided which implies that there is no security on the updates routes. + /// This is useful to debug when integrating the engine with another service. #[structopt(long, env = "MEILI_ENV", default_value = "development", possible_values = &POSSIBLE_ENV)] pub env: String,