diff options
Diffstat (limited to 'bin/core/imag-gps/src/ui.rs')
-rw-r--r-- | bin/core/imag-gps/src/ui.rs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/bin/core/imag-gps/src/ui.rs b/bin/core/imag-gps/src/ui.rs index f76d71b5..1abc924e 100644 --- a/bin/core/imag-gps/src/ui.rs +++ b/bin/core/imag-gps/src/ui.rs @@ -20,7 +20,7 @@ use std::path::PathBuf; use clap::{Arg, ArgMatches, App, SubCommand}; -use failure::Fallible as Result; +use anyhow::Result; use libimagstore::storeid::IntoStoreId; use libimagstore::storeid::StoreId; @@ -114,7 +114,7 @@ impl IdPathProvider for PathProvider { ("add", Some(subm)) => get_id_paths("entry", subm), ("remove", Some(subm)) => get_id_paths("entry", subm), ("get", Some(subm)) => get_id_paths("get-ids", subm), - (other, _) => Err(format_err!("Not a known command: {}", other)), + (other, _) => Err(anyhow!("Not a known command: {}", other)), } } } |