Better verbose messages for 'replace' and 'del TERM'.

Added "TODO:" prefix and simplified messages.
This commit is contained in:
Ingo Karkat
2010-07-14 17:18:57 +02:00
parent 74fa07d26a
commit 83053fd0c1
4 changed files with 20 additions and 20 deletions

View File

@@ -333,7 +333,7 @@ replaceOrPrepend()
case "$action" in
replace)
echo "$item: $todo"
echo "replaced with"
echo "TODO: Replaced task with:"
echo "$item: $newtodo"
;;
prepend)
@@ -817,7 +817,7 @@ case $action in
fi
if [ $TODOTXT_VERBOSE -gt 0 ]; then
echo "$item: $DELETEME"
echo "got '$3' removed to become"
echo "TODO: Removed '$3' from task."
echo "$item: $newtodo"
fi
fi