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-16 09:59:51 +0100
commite94eece31ecc4aaa138ea4315c1d8220d1104b5a (patch)
treefa32a87b257e19003c8bce71ffb018c78c1020dc /bin/domain/imag-todo/src/lib.rs
parent40ba9390849bc9a818283542e08da9b02399c704 (diff)
downloadimag-e94eece31ecc4aaa138ea4315c1d8220d1104b5a.tar.gz
imag-e94eece31ecc4aaa138ea4315c1d8220d1104b5a.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!")),