summaryrefslogtreecommitdiffstats
path: root/bin/domain/imag-todo/src/lib.rs
diff options
context:
space:
mode:
authorMatthias Beyer <mail@beyermatthias.de>2020-02-15 22:45:26 +0100
committerMatthias Beyer <mail@beyermatthias.de>2020-02-15 23:12:50 +0100
commitcc038ad8c772f286512f7eff2b8a96e89895398d (patch)
tree524d2dd9b81f3f0424f08aa55a9b93b90e7d51d7 /bin/domain/imag-todo/src/lib.rs
parent93d3bda837122bfc7a05ec20690bac2b49fbaf15 (diff)
downloadimag-cc038ad8c772f286512f7eff2b8a96e89895398d.tar.gz
imag-cc038ad8c772f286512f7eff2b8a96e89895398d.tar.xz
Diffstat (limited to 'bin/domain/imag-todo/src/lib.rs')
-rw-r--r--bin/domain/imag-todo/src/lib.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/bin/domain/imag-todo/src/lib.rs b/bin/domain/imag-todo/src/lib.rs
index dade6004..b2007b49 100644
--- a/bin/domain/imag-todo/src/lib.rs
+++ b/bin/domain/imag-todo/src/lib.rs
@@ -241,7 +241,7 @@ fn mark(rt: &Runtime) -> Result<()> {
let scmd = rt.cli().subcommand().1.unwrap();
match scmd.subcommand_name() {
Some("done") => mark_todos_as(rt, Status::Done),
- Some("delete") => mark_todos_as(rt, Status::Deleted),
+ Some("deleted") => mark_todos_as(rt, Status::Deleted),
Some("pending") => mark_todos_as(rt, Status::Pending),
Some(other) => Err(format_err!("Unknown mark type selected: {}", other)),
None => Err(format_err!("No mark type selected, doing nothing!")),