mirror of
https://github.com/meilisearch/MeiliSearch
synced 2025-07-04 04:17:10 +02:00
Improve the contact email flag to make it friendly to disable prompt
This commit is contained in:
parent
4fc24cb691
commit
e575b5af74
1 changed files with 3 additions and 0 deletions
|
@ -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>>,
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue