Skip to content

Commit

Permalink
fix task deletion confirmation count
Browse files Browse the repository at this point in the history
  • Loading branch information
naggie committed Jan 23, 2021
1 parent 05f55e1 commit 2bb7d60
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion commands.go
Original file line number Diff line number Diff line change
Expand Up @@ -356,7 +356,7 @@ func CommandRemove(conf Config, ctx, query Query) error {
}

if StdoutIsTTY() {
ConfirmOrAbort("\nThe above %d task(s) will be deleted without checking subtasks. Continue?", len(ts.Tasks()))
ConfirmOrAbort("\nThe above %d task(s) will be deleted without checking subtasks. Continue?", len(query.IDs))
}

for _, id := range query.IDs {
Expand Down

0 comments on commit 2bb7d60

Please sign in to comment.