aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xtodo6
1 files changed, 5 insertions, 1 deletions
diff --git a/todo b/todo
index f8bd9a3..bc49459 100755
--- a/todo
+++ b/todo
@@ -51,7 +51,11 @@ elif [ "$OPTION" == "count" ]; then
todo_find | grep -v $NAME | wc -l
elif [ "$OPTION" == "show" ]; then
if [ ! -z "$2" ] && [ -e "$2" ]; then
- grep "TODO" $2 | sed -e 's/^ *//'
+ # Check TODO inside files
+ grep -i "todo" $2 | sed -e 's/^ *//'
+
+ # Check also for FIXMEs
+ fixmes $2
fi
elif [ "$OPTION" == "help" ]; then
echo "usage: $BASENAME [list|count]"