summaryrefslogtreecommitdiffstats
path: root/bin/domain/imag-mail/src/ui.rs
diff options
context:
space:
mode:
Diffstat (limited to 'bin/domain/imag-mail/src/ui.rs')
-rw-r--r--bin/domain/imag-mail/src/ui.rs14
1 files changed, 6 insertions, 8 deletions
diff --git a/bin/domain/imag-mail/src/ui.rs b/bin/domain/imag-mail/src/ui.rs
index e1fa88e6..51142867 100644
--- a/bin/domain/imag-mail/src/ui.rs
+++ b/bin/domain/imag-mail/src/ui.rs
@@ -51,14 +51,6 @@ pub fn build_ui<'a>(app: App<'a, 'a>) -> App<'a, 'a> {
.about("List all stored references to mails")
.version("0.1")
- .arg(Arg::with_name("list-read")
- .long("read")
- .short("r")
- .takes_value(false)
- .required(false)
- .multiple(false)
- .help("Print the textual content of the mail itself as well"))
-
.arg(Arg::with_name("list-id")
.index(1)
.takes_value(true)
@@ -66,6 +58,12 @@ pub fn build_ui<'a>(app: App<'a, 'a>) -> App<'a, 'a> {
.multiple(true)
.help("The ids of the mails to list information for"))
+ .arg(Arg::with_name("format")
+ .long("format")
+ .takes_value(true)
+ .required(false)
+ .multiple(false)
+ .help("The format to list the mails with"))
)
.subcommand(SubCommand::with_name("mail-store")