Only print the added report line, not entire report.

I think this makes much more sense, especially once the report gets very long. (One can always use "cat" to view the entire report.)
This commit is contained in:
Ingo Karkat
2012-01-14 14:56:03 +01:00
parent a686659985
commit 6d860d2506
2 changed files with 13 additions and 6 deletions

View File

@@ -1197,7 +1197,7 @@ note: PRIORITY must be anywhere from A to Z."
echo ${TDONE:-0})
echo $TECHO >> "$REPORT_FILE"
[ $TODOTXT_VERBOSE -gt 0 ] && echo "TODO: Report file updated."
cat "$REPORT_FILE"
sed -ne '$p' "$REPORT_FILE"
;;
* )