From c7940f72ff7cc805fd20228bcfbc68b0a1b4f212 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Cl=C3=A9ment=20DOUIN?= Date: Sun, 19 Sep 2021 16:42:45 +0200 Subject: [PATCH] review mailboxes command --- src/domain/mbox/arg.rs | 2 +- src/domain/mbox/handler.rs | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/domain/mbox/arg.rs b/src/domain/mbox/arg.rs index 5d58f0f4..2eb73a3a 100644 --- a/src/domain/mbox/arg.rs +++ b/src/domain/mbox/arg.rs @@ -25,7 +25,7 @@ pub fn matches(m: &ArgMatches) -> Result> { /// Mailbox subcommands. pub fn subcmds<'a>() -> Vec> { vec![SubCommand::with_name("mailboxes") - .aliases(&["mailbox", "mboxes", "mbox", "m"]) + .aliases(&["mailbox", "mboxes", "mbox", "mb", "m"]) .about("Lists all mailboxes")] } diff --git a/src/domain/mbox/handler.rs b/src/domain/mbox/handler.rs index e4348f41..a2e4f504 100644 --- a/src/domain/mbox/handler.rs +++ b/src/domain/mbox/handler.rs @@ -10,7 +10,7 @@ use crate::{ output::service::{OutputService, OutputServiceInterface}, }; -/// List mailboxes. +/// List all mailboxes. pub fn list( output: &OutputService, imap: &mut ImapService,