addp: correct usage statement

This commit is contained in:
Adam Goldsmith 2016-10-27 12:32:58 -04:00
parent 07d05db080
commit 2c6e2e65f6
1 changed files with 6 additions and 1 deletions

7
addp
View File

@ -1,6 +1,11 @@
#!/bin/bash
[ "$1" = "usage" ] && echo ' addz "THING I NEED TO DO +project @context"' && echo " add an item with z priority" && exit 0
if [ "$1" = "usage" ]
then
echo ' addp PRIORITY "THING I NEED TO DO +project @context"'
echo " add an item with priority PRIORITY"
exit 0
fi
shift
pri="$(tr '[:lower:]' '[:upper:]' <<< $1)"