diff --git a/addp b/addp index 545becc..80f7acc 100755 --- a/addp +++ b/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)"