Split off dedicated tests for listpri.
Bonus: Fixed alignment of listpri help message.
This commit is contained in:
2
todo.sh
2
todo.sh
@@ -1016,7 +1016,7 @@ case $action in
|
||||
## A priority was specified
|
||||
pri=$( printf "%s\n" "$1" | tr 'a-z' 'A-Z' | grep '^[A-Z]$' ) || {
|
||||
die "usage: $TODO_SH listpri PRIORITY
|
||||
note: PRIORITY must a single letter from A to Z."
|
||||
note: PRIORITY must a single letter from A to Z."
|
||||
}
|
||||
else
|
||||
## No priority specified; show all priority tasks
|
||||
|
||||
Reference in New Issue
Block a user