mirror of
https://github.com/meilisearch/meilisearch.git
synced 2025-07-28 01:01:00 +00:00
Improve the contact email flag to make it friendly to disable prompt
This commit is contained in:
@ -349,6 +349,9 @@ pub struct Opt {
|
|||||||
pub log_level: LogLevel,
|
pub log_level: LogLevel,
|
||||||
|
|
||||||
/// Sets the email address to contact for support and news.
|
/// Sets the email address to contact for support and news.
|
||||||
|
///
|
||||||
|
/// Use this option to disable contact email prompting. Leave
|
||||||
|
/// blank or without value to disable contact email prompting.
|
||||||
#[clap(long, env = MEILI_CONTACT_EMAIL)]
|
#[clap(long, env = MEILI_CONTACT_EMAIL)]
|
||||||
pub contact_email: Option<Option<String>>,
|
pub contact_email: Option<Option<String>>,
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user