From 03d037ae5fa4966c1bfc333e7a8c7fbfc67623bd Mon Sep 17 00:00:00 2001 From: Christian Heller Date: Thu, 3 Apr 2025 02:54:52 +0200 Subject: [PATCH] Fix. --- testing/home/desktop/.local/bin/borgplom | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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}" -- 2.30.2