remove unnecessary comment on env Opt; #491

This commit is contained in:
qdequele 2020-03-02 16:56:11 +01:00 committed by Quentin de Quelen
parent decce4d8e4
commit 4d27318b72

View File

@ -17,9 +17,9 @@ pub struct Opt {
pub master_key: Option<String>, pub master_key: Option<String>,
/// This environment variable must be set to `production` if your are running in production. /// This environment variable must be set to `production` if your are running in production.
/// Could be `production` or `development` /// If the server is running in development mode more logs will be displayed,
/// - `production`: Force api keys /// and the master key can be avoided which implies that there is no security on the updates routes.
/// - `development`: Show logs in "info" mode + not mendatory to specify the api keys /// This is useful to debug when integrating the engine with another service.
#[structopt(long, env = "MEILI_ENV", default_value = "development", possible_values = &POSSIBLE_ENV)] #[structopt(long, env = "MEILI_ENV", default_value = "development", possible_values = &POSSIBLE_ENV)]
pub env: String, pub env: String,