mirror of
https://github.com/soywod/himalaya.git
synced 2024-07-05 09:05:13 +00:00
review mailboxes command
This commit is contained in:
parent
cebff51e5b
commit
c7940f72ff
|
@ -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")]
|
||||
}
|
||||
|
||||
|
|
|
@ -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,
|
||||
|
|
Loading…
Reference in a new issue