improve args management

This commit is contained in:
Clément DOUIN
2022-09-27 17:37:08 +02:00
parent 3feccc3225
commit 329af51534
10 changed files with 740 additions and 707 deletions
+2 -2
View File
@@ -106,7 +106,7 @@ fn main() -> Result<()> {
_ => (),
}
// Check mailbox commands.
// Check folder commands.
match folder::args::matches(&m)? {
Some(folder::args::Cmd::List(max_width)) => {
return folder::handlers::list(
@@ -254,7 +254,7 @@ fn main() -> Result<()> {
backend.as_mut(),
);
}
Some(flag::args::Cmd::Remove(seq_range, ref flags)) => {
Some(flag::args::Cmd::Del(seq_range, ref flags)) => {
return flag::handlers::remove(
seq_range,
flags,