addp: correct usage statement
This commit is contained in:
parent
07d05db080
commit
2c6e2e65f6
7
addp
7
addp
@ -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)"
|
||||
|
Loading…
Reference in New Issue
Block a user