From a1e91d0b0bb20c10241dfa1930c83cc7bbdf126c Mon Sep 17 00:00:00 2001 From: Silvio Rhatto Date: Mon, 4 Sep 2017 17:37:13 -0300 Subject: TODO: use 'show' instead of 'see' --- todo | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'todo') diff --git a/todo b/todo index 9c62f32..f8bd9a3 100755 --- a/todo +++ b/todo @@ -49,13 +49,13 @@ if [ "$OPTION" == "list" ]; then todo_find | grep -v -e "^$NAME$" | sed -e "s|^$HOME|~|" elif [ "$OPTION" == "count" ]; then todo_find | grep -v $NAME | wc -l -elif [ "$OPTION" == "see" ]; then +elif [ "$OPTION" == "show" ]; then if [ ! -z "$2" ] && [ -e "$2" ]; then grep "TODO" $2 | sed -e 's/^ *//' fi elif [ "$OPTION" == "help" ]; then echo "usage: $BASENAME [list|count]" - echo " $BASENAME see " + echo " $BASENAME show " else todo_list fi -- cgit v1.2.3