diff options
Diffstat (limited to 'bin/domain/imag-mail/src/ui.rs')
-rw-r--r-- | bin/domain/imag-mail/src/ui.rs | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/bin/domain/imag-mail/src/ui.rs b/bin/domain/imag-mail/src/ui.rs index 7ea993ab..3345a6aa 100644 --- a/bin/domain/imag-mail/src/ui.rs +++ b/bin/domain/imag-mail/src/ui.rs @@ -135,6 +135,20 @@ pub fn build_ui<'a>(app: App<'a, 'a>) -> App<'a, 'a> { .required(false) .value_name("ADDRESS") .help("The subject of the mail")) + .arg(Arg::with_name("date") + .long("date") + .takes_value(true) + .multiple(true) + .required(false) + .value_name("DATETIME") + .help("The date to put into the mail (defaults to now)")) + .arg(Arg::with_name("from") + .long("from") + .takes_value(true) + .multiple(true) + .required(false) + .value_name("FROM") + .help("The from address to put into the mail, defaults to configured value")) .arg(Arg::with_name("in-reply-to") .long("in-reply-to") .short("r") |