From 7964041f8eaf281cce74f5dbfa167c3abe75dba8 Mon Sep 17 00:00:00 2001 From: Christian Heller Date: Thu, 3 Apr 2025 00:33:05 +0200 Subject: [PATCH] Fix. --- testing/home/desktop/.local/bin/borgplom | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/testing/home/desktop/.local/bin/borgplom b/testing/home/desktop/.local/bin/borgplom index 927bbba..f9c7914 100755 --- a/testing/home/desktop/.local/bin/borgplom +++ b/testing/home/desktop/.local/bin/borgplom @@ -20,7 +20,7 @@ _print_usage() { for _CMD in ${COMMANDS}; do _INDEX=" ${_CMD}$(eval printf '"%s"' '"${HELP_ARGS_'${_CMD}'}"')" _LEN_INDEX=$(echo -n "${_INDEX}" | wc -c) - if [ "${_LEN_INDEX}" -gt "${_MAX_LEN_INDX}" ]; then + if [ "${_LEN_INDEX}" -gt "${_MAX_LEN_INDEX}" ]; then _MAX_LEN_INDEX="${_LEN_INDEX}" fi done @@ -29,7 +29,7 @@ _print_usage() { _LEN_INDEX=$(echo -n "${_INDEX}" | wc -c) printf '%s' "${_INDEX}" _LEN_GAP=$(calc "${_MAX_LEN_INDEX} - ${_LEN_INDEX} + 2") - for _ in seq 1 ${_LEN_GAP}; do + for _ in $(seq 1 ${_LEN_GAP}); do printf ' ' done eval printf '"%s\n"' '"${HELP_DESC_'${_CMD}'}"' @@ -130,7 +130,7 @@ cmd_keys() { done } -HELP_orgpull='pull most recent org directory available in repos' +HELP_DESC_orgpull='pull most recent org directory available in repos' cmd_orgpull() { _check_args_beyond 0 "$@" _NAME_ARCHIVE=orgdir -- 2.30.2