Aligned "no such task" error message with verbose messages.

The message now also starts with "TODO:", like all other messages (except for the usage messages).
Before: 42: No such task.
After:  TODO: No task 42.
This commit is contained in:
Ingo Karkat
2010-07-15 13:48:24 +02:00
parent b383b1f0c5
commit 4d29e68e89
6 changed files with 13 additions and 13 deletions

View File

@@ -12,11 +12,11 @@ EOF
test_todo_session 'del nonexistant item' <<EOF
>>> todo.sh -f del 42
42: No such task.
TODO: No task 42.
=== 1
>>> todo.sh -f del 42 Roses
42: No such task.
TODO: No task 42.
=== 1
EOF
@@ -55,7 +55,7 @@ test_todo_session 'del preserving line numbers' <<EOF
TODO: 1 deleted.
>>> todo.sh -f del 1
1: No such task.
TODO: No task 1.
=== 1
>>> todo.sh add A new task