addp: force uppercase priority
This commit is contained in:
parent
09be085163
commit
b3a0a55526
2
addp
2
addp
@ -3,7 +3,7 @@
|
|||||||
[ "$1" = "usage" ] && echo ' addz "THING I NEED TO DO +project @context"' && echo " add an item with z priority" && exit 0
|
[ "$1" = "usage" ] && echo ' addz "THING I NEED TO DO +project @context"' && echo " add an item with z priority" && exit 0
|
||||||
shift
|
shift
|
||||||
|
|
||||||
pri="$1"
|
pri="$(tr '[:lower:]' '[:upper:]' <<< $1)"
|
||||||
shift
|
shift
|
||||||
|
|
||||||
"$TODO_FULL_SH" command add "($pri) $@"
|
"$TODO_FULL_SH" command add "($pri) $@"
|
||||||
|
Loading…
Reference in New Issue
Block a user