From f4f86d77835bd5918e7e21e97e94cd79158d9973 Mon Sep 17 00:00:00 2001 From: Otho Date: Mon, 16 Jan 2023 19:42:47 -0500 Subject: [PATCH] Added debug getopt. --- backup.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/backup.sh b/backup.sh index 9499d33..39d671a 100755 --- a/backup.sh +++ b/backup.sh @@ -230,8 +230,8 @@ send_increment() ################################### MAIN #################################### ### Options -set -- `getopt "tl:" "$@"` || { - echo "Usage: `basename $0` [-tl] [command]" 1>&2 +set -- `getopt "tdl:" "$@"` || { + echo "Usage: `basename $0` [-tdl] [command]" 1>&2 exit 1 } BG_TEST_MODE=FALSE