V8.00.000.2025.06.17
All checks were successful
🛡️ Shell Script Linting / 🛡️ Shell Script Linting (push) Successful in 41s
All checks were successful
🛡️ Shell Script Linting / 🛡️ Shell Script Linting (push) Successful in 41s
Signed-off-by: Marc S. Weidner <msw@coresecret.dev>
This commit is contained in:
@@ -75,6 +75,7 @@ usage() {
|
||||
echo
|
||||
echo -e "\e[97m --log, -l <LEVEL> \e[0m"
|
||||
echo " This changes the default log level from 'info' to one of the following values:"
|
||||
echo " debug"
|
||||
echo " info"
|
||||
echo " notice"
|
||||
echo " warn"
|
||||
|
||||
@@ -53,7 +53,7 @@ arg_parser() {
|
||||
|
||||
-l | --log)
|
||||
case "${2,,}" in
|
||||
info|notice|warn|error|emergency) declare -gx VAR_DEFAULT_LOG_LEVEL="$2"; shift 2 ;;
|
||||
debug|info|notice|warn|error|critical|fatal|emergency) declare -gx VAR_DEFAULT_LOG_LEVEL="$2"; shift 2 ;;
|
||||
*)
|
||||
if [[ "${VAR_AUTO_INSTALL}" == "false" && "${VAR_IN_DIALOG_WR}" == true ]]; then dialog_box_cleaner; fi
|
||||
usage
|
||||
|
||||
Reference in New Issue
Block a user