summaryrefslogtreecommitdiffstats
path: root/bin
diff options
context:
space:
mode:
authorMatthias Beyer <mail@beyermatthias.de>2018-06-15 22:07:13 +0200
committerMatthias Beyer <mail@beyermatthias.de>2018-06-15 22:07:13 +0200
commiteb682d76e8749194658336169c36fe774c939b49 (patch)
treeaed89ae4bb01c007bbf5e9df6ffbe328151eee02 /bin
parentc8da09f687c83bd6ec920d242c74917f2720a36b (diff)
Prettify error messages
Diffstat (limited to 'bin')
-rw-r--r--bin/domain/imag-bookmark/src/main.rs6
1 files changed, 3 insertions, 3 deletions
diff --git a/bin/domain/imag-bookmark/src/main.rs b/bin/domain/imag-bookmark/src/main.rs
index 3438ee78..2741e898 100644
--- a/bin/domain/imag-bookmark/src/main.rs
+++ b/bin/domain/imag-bookmark/src/main.rs
@@ -94,7 +94,7 @@ fn add(rt: &Runtime) {
let mut collection = BookmarkCollectionStore::get(rt.store(), &coll)
.map_err_trace_exit_unwrap(1)
- .ok_or(BE::from(format!("No BookmarkcollectionStore '{}' found", coll)))
+ .ok_or(BE::from(format!("No bookmark collection '{}' found", coll)))
.map_err_trace_exit_unwrap(1);
for url in scmd.values_of("urls").unwrap() { // unwrap saved by clap
@@ -135,7 +135,7 @@ fn list(rt: &Runtime) {
let collection = BookmarkCollectionStore::get(rt.store(), &coll)
.map_err_trace_exit_unwrap(1)
- .ok_or(BE::from(format!("No BookmarkcollectionStore '{}' found", coll)))
+ .ok_or(BE::from(format!("No bookmark collection '{}' found", coll)))
.map_err_trace_exit_unwrap(1);
let links = collection.links(rt.store()).map_err_trace_exit_unwrap(1);
@@ -157,7 +157,7 @@ fn remove(rt: &Runtime) {
let mut collection = BookmarkCollectionStore::get(rt.store(), &coll)
.map_err_trace_exit_unwrap(1)
- .ok_or(BE::from(format!("No BookmarkcollectionStore '{}' found", coll)))
+ .ok_or(BE::from(format!("No bookmark collection '{}' found", coll)))
.map_err_trace_exit_unwrap(1);
for url in scmd.values_of("urls").unwrap() { // enforced by clap