diff options
author | Matthias Beyer <mail@beyermatthias.de> | 2020-01-02 14:29:58 +0100 |
---|---|---|
committer | Matthias Beyer <mail@beyermatthias.de> | 2020-01-02 18:53:21 +0100 |
commit | fd16ed4674ec8af07705838dd2240577bf1bf67a (patch) | |
tree | 1c07759f513dfb5d6a6fa1f8a37e8c7732d8de94 | |
parent | fa6c61b6a6c655904c096c2dbc4e6e8465c6a2b5 (diff) |
Fix: Clap argument name
The clap argument name is written with dashes instead of underscores.
Signed-off-by: Matthias Beyer <mail@beyermatthias.de>
(cherry picked from commit 1c8c02c904abd913ed7621fc43eecd57c4b7aeec)
-rw-r--r-- | bin/domain/imag-mail/src/lib.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/bin/domain/imag-mail/src/lib.rs b/bin/domain/imag-mail/src/lib.rs index 44529c76..ed931451 100644 --- a/bin/domain/imag-mail/src/lib.rs +++ b/bin/domain/imag-mail/src/lib.rs @@ -128,7 +128,7 @@ fn import_mail(rt: &Runtime) -> Result<()> { .unwrap() // enforced by clap .map(PathBuf::from) .map(|path| { - if scmd.is_present("ignore_existing_ids") { + if scmd.is_present("ignore-existing-ids") { store.retrieve_mail_from_path(path, &collection_name, &refconfig) } else { store.create_mail_from_path(path, &collection_name, &refconfig) |