summaryrefslogtreecommitdiff
path: root/command.go
diff options
context:
space:
mode:
Diffstat (limited to 'command.go')
-rw-r--r--command.go8
1 files changed, 8 insertions, 0 deletions
diff --git a/command.go b/command.go
index c3396b2..d6d896f 100644
--- a/command.go
+++ b/command.go
@@ -187,6 +187,14 @@ func parseMarkArgs(line string) ([]string, error) {
}
return fields, nil
}
+ case 'd':
+ if strings.HasPrefix("delete", fields[0]) {
+ fields[0] = "delete"
+ if len(fields) != 2 {
+ return nil, ErrInvalidArgs
+ }
+ return fields, nil
+ }
}
if len(fields) != 1 {