review mailboxes command

This commit is contained in:
Clément DOUIN 2021-09-19 16:42:45 +02:00
parent cebff51e5b
commit c7940f72ff
No known key found for this signature in database
GPG key ID: 69C9B9CFFDEE2DEF
2 changed files with 2 additions and 2 deletions

View file

@ -25,7 +25,7 @@ pub fn matches(m: &ArgMatches) -> Result<Option<Command>> {
/// Mailbox subcommands.
pub fn subcmds<'a>() -> Vec<App<'a, 'a>> {
vec![SubCommand::with_name("mailboxes")
.aliases(&["mailbox", "mboxes", "mbox", "m"])
.aliases(&["mailbox", "mboxes", "mbox", "mb", "m"])
.about("Lists all mailboxes")]
}

View file

@ -10,7 +10,7 @@ use crate::{
output::service::{OutputService, OutputServiceInterface},
};
/// List mailboxes.
/// List all mailboxes.
pub fn list<ImapService: ImapServiceInterface>(
output: &OutputService,
imap: &mut ImapService,