mirror of
https://github.com/meilisearch/meilisearch.git
synced 2024-11-23 18:45:06 +08:00
remove unnecessary comment on env Opt; #491
This commit is contained in:
parent
decce4d8e4
commit
4d27318b72
@ -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,
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user