scripts/timer updated to have a non-terrible help message

This commit is contained in:
randomuser 2021-05-12 12:51:06 -05:00
parent 26ea1e5c92
commit 2ea5dbd49f
1 changed files with 1 additions and 1 deletions

View File

@ -3,7 +3,7 @@
case $0 in
*"timer"*)
[ $# -ne 2 ] && printf "specify minutes and \
seconds\n" && exit 1
seconds\n" && exit 1
sleep $(($1 * 60 + $2))
printf "your timer is done\a\n"
exit 0