Skip to content

Commit

Permalink
Executed addtl tests
Browse files Browse the repository at this point in the history
  • Loading branch information
framps committed Sep 28, 2024
1 parent f21d845 commit be4ba6d
Showing 1 changed file with 2 additions and 12 deletions.
14 changes: 2 additions & 12 deletions raspiBackup.sh
Original file line number Diff line number Diff line change
Expand Up @@ -2308,7 +2308,7 @@ function callExtensions() { # extensionplugpoint rc

function usage() {

local activeLang="EN" # fallback into english
local activeLang=$FALLBACK_LANGUAGE # fallback language

[[ -n ${SUPPORTED_LANGUAGES[$LANGUAGE]} ]] && activeLang="$LANGUAGE"

Expand All @@ -2317,7 +2317,7 @@ function usage() {
local func="usage${activeLang}"

if ! fn_exists $func; then
func="usageEN"
func="usage$FALLBACK_LANGUAGE"
fi

$func
Expand Down Expand Up @@ -9216,11 +9216,6 @@ while (( "$#" )); do
fi
;;

-h|-\?|--help)
usage
exit
;;

--ignoreAdditionalPartitions|--ignoreAdditionalPartitions[+-])
IGNORE_ADDITIONAL_PARTITIONS=$(getEnableDisableOption "$1"); shift 1
;;
Expand Down Expand Up @@ -9446,11 +9441,6 @@ while (( "$#" )); do
REVERT=1; shift 1
;;

--version)
echo "Version: $VERSION CommitSHA: $GIT_COMMIT_ONLY CommitDate: $GIT_DATE_ONLY CommitTime: $GIT_TIME_ONLY"
exitNormal
;;

-x|-x[-+])
EXCLUDE_DD=$(getEnableDisableOption "$1"); shift 1
;;
Expand Down

0 comments on commit be4ba6d

Please sign in to comment.