]> gitweb.fluxo.info Git - scripts.git/commitdiff
TODO: use 'show' instead of 'see'
authorSilvio Rhatto <rhatto@riseup.net>
Mon, 4 Sep 2017 20:37:13 +0000 (17:37 -0300)
committerSilvio Rhatto <rhatto@riseup.net>
Mon, 4 Sep 2017 20:37:13 +0000 (17:37 -0300)
todo

diff --git a/todo b/todo
index 9c62f3267d0093f28d7e5e0e41c8349c6be37bc9..f8bd9a316053914be02636c6b7d0c7f975bf4047 100755 (executable)
--- 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 <file>"
+  echo "       $BASENAME show <file>"
 else
   todo_list
 fi