aboutsummaryrefslogtreecommitdiff
path: root/todo
diff options
context:
space:
mode:
authorSilvio Rhatto <rhatto@riseup.net>2017-09-04 17:37:13 -0300
committerSilvio Rhatto <rhatto@riseup.net>2017-09-04 17:37:13 -0300
commita1e91d0b0bb20c10241dfa1930c83cc7bbdf126c (patch)
treecbc309e7e8e25d78ca52969e9d6b2a3bfb443865 /todo
parentb41d8d910942a54f202172c3d339593daa034f20 (diff)
downloadscripts-a1e91d0b0bb20c10241dfa1930c83cc7bbdf126c.tar.gz
scripts-a1e91d0b0bb20c10241dfa1930c83cc7bbdf126c.tar.bz2
TODO: use 'show' instead of 'see'
Diffstat (limited to 'todo')
-rwxr-xr-xtodo4
1 files changed, 2 insertions, 2 deletions
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 <file>"
+ echo " $BASENAME show <file>"
else
todo_list
fi