trying to code while driving

This commit is contained in:
Cyberes 2024-03-29 10:23:24 -06:00
parent 0a29db20f0
commit 2260f43f59
1 changed files with 3 additions and 3 deletions

View File

@ -12,7 +12,7 @@ IS_TIMER=false
IS_ALLOWED_DISABLED=false
# Parse command line arguments
while getopts "u:t" opt; do
while getopts "u:t:d" opt; do
case ${opt} in
u )
UNIT_NAME=$OPTARG
@ -20,11 +20,11 @@ while getopts "u:t" opt; do
t )
IS_TIMER=true
;;
t )
d )
IS_ALLOWED_DISABLED=true
;;
\? )
echo "Invalid option: $OPTARG" 1>&2
usage
exit 1
;;
: )