~llndqvst/notmuch-mvrs

99626f76871dfaba705278659bdb3feb949a65fb — Lukas Lindqvist 8 months ago a143c9c
Add info if unrecognized mover used
1 files changed, 2 insertions(+), 1 deletions(-)

M src/lib.rs
M src/lib.rs => src/lib.rs +2 -1
@@ 3,6 3,7 @@ pub mod movers;
pub mod mover_config;
pub mod notmuch_db_loader;

// use dirs::data_local_dir;
use mover_config::MoverConfig;
use movers::mbsync::Mbsync;
use config::{ConfigShim, MoverOption};


@@ 61,6 62,6 @@ pub fn dry_run() {
        "mbsync" => {
            dry_run_movers::<Mbsync>(t.db, t.mover_options);
        },
        &_ => eprintln!("Not a recognized mover")
        s => eprintln!("Not a recognized mover: {}", s)
    }
}