From 75cc9dc584153809a0b4ccc34d621fed9a36952e Mon Sep 17 00:00:00 2001 From: Jonas Kaninda Date: Sun, 24 Dec 2023 11:59:00 +0100 Subject: [PATCH] Update README.md --- src/mysql_bkup.sh | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/src/mysql_bkup.sh b/src/mysql_bkup.sh index 587e34a..9d48917 100755 --- a/src/mysql_bkup.sh +++ b/src/mysql_bkup.sh @@ -47,6 +47,8 @@ help() echo " |--path -- Set s3 path, without file name" echo " -d |--dbname -- Set database name " echo " -p |--port -- Set database port (default: 3306)" + echo " -m |--mode -- Set execution mode (default: default)" + echo " |--period -- Set schedule period time (default: '*/30 * * *')" echo " -t |--timeout -- Set timeout (default: 120s)" echo " -h |--help -- Print this help message and exit" echo " -V |--version -- Print version information and exit" @@ -95,12 +97,12 @@ flags() shift;; (-m|--mode) shift - [ $# = 0 ] && error "No Scheduled mode specified" + [ $# = 0 ] && error "No execution mode specified" export EXECUTION_MODE="$1" shift;; (--period) shift - [ $# = 0 ] && error "No Scheduled period entered" + [ $# = 0 ] && error "No schedule period entered" export SCHEDULE_PERIOD="$1" shift;; (-t|--timeout)