From: Christian Heller Date: Thu, 3 Apr 2025 00:54:52 +0000 (+0200) Subject: Fix. X-Git-Url: https://plomlompom.com/repos/%22https:/validator.w3.org/static/test.html?a=commitdiff_plain;h=03d037ae5fa4966c1bfc333e7a8c7fbfc67623bd;p=config Fix. --- diff --git a/testing/home/desktop/.local/bin/borgplom b/testing/home/desktop/.local/bin/borgplom index 02df400..12f3891 100755 --- a/testing/home/desktop/.local/bin/borgplom +++ b/testing/home/desktop/.local/bin/borgplom @@ -60,7 +60,7 @@ COMMANDS='claim help keys orgpull' _check_args_beyond() { _N_MAX_ARGS="$1" _CMD="$2" - shift $(calc "${_N_MAX_ARGS} + 1" | cut -f2) + shift $(calc "${_N_MAX_ARGS} + 2" | cut -f2) if [ "$#" -gt 0 ]; then _MSG="unexpected arguments beyond command '${_CMD}': $@" error_exit "${_MSG}"