summaryrefslogtreecommitdiffstats
path: root/bin/core/imag-ref/src/ui.rs
diff options
context:
space:
mode:
Diffstat (limited to 'bin/core/imag-ref/src/ui.rs')
-rw-r--r--bin/core/imag-ref/src/ui.rs6
1 files changed, 3 insertions, 3 deletions
diff --git a/bin/core/imag-ref/src/ui.rs b/bin/core/imag-ref/src/ui.rs
index 2b548074..19bd59b8 100644
--- a/bin/core/imag-ref/src/ui.rs
+++ b/bin/core/imag-ref/src/ui.rs
@@ -20,7 +20,7 @@
use std::path::PathBuf;
use clap::{Arg, App, ArgMatches, SubCommand};
-use failure::Fallible as Result;
+use anyhow::Result;
use libimagstore::storeid::StoreId;
use libimagstore::storeid::IntoStoreId;
@@ -148,8 +148,8 @@ impl IdPathProvider for PathProvider {
("deref", Some(subm)) => get_id_paths(subm),
("remove", Some(subm)) => get_id_paths(subm),
("list-dead", Some(subm)) => get_id_paths(subm),
- ("create", _) => Err(format_err!("Command does not get IDs as input")),
- (other, _) => Err(format_err!("Not a known command: {}", other)),
+ ("create", _) => Err(anyhow!("Command does not get IDs as input")),
+ (other, _) => Err(anyhow!("Not a known command: {}", other)),
}
}
}