addp: force uppercase priority

This commit is contained in:
Adam Goldsmith 2016-10-27 12:24:08 -04:00
parent 09be085163
commit b3a0a55526
1 changed files with 1 additions and 1 deletions

2
addp
View File

@ -3,7 +3,7 @@
[ "$1" = "usage" ] && echo ' addz "THING I NEED TO DO +project @context"' && echo " add an item with z priority" && exit 0
shift
pri="$1"
pri="$(tr '[:lower:]' '[:upper:]' <<< $1)"
shift
"$TODO_FULL_SH" command add "($pri) $@"