From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id E8E5115800F for ; Mon, 13 Feb 2023 21:37:28 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 04C15E07E6; Mon, 13 Feb 2023 21:37:28 +0000 (UTC) Received: from smtp.gentoo.org (woodpecker.gentoo.org [140.211.166.183]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id DEB60E07E6 for ; Mon, 13 Feb 2023 21:37:27 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id F3523340BC9 for ; Mon, 13 Feb 2023 21:37:26 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 910728AE for ; Mon, 13 Feb 2023 21:37:24 +0000 (UTC) From: "Sam James" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Sam James" Message-ID: <1676324140.755410e6ef4a7562d68b4c0288efd569696979b6.sam@gentoo> Subject: [gentoo-commits] proj/gentoo-functions:master commit in: / X-VCS-Repository: proj/gentoo-functions X-VCS-Files: functions.sh X-VCS-Directories: / X-VCS-Committer: sam X-VCS-Committer-Name: Sam James X-VCS-Revision: 755410e6ef4a7562d68b4c0288efd569696979b6 X-VCS-Branch: master Date: Mon, 13 Feb 2023 21:37:24 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: 7667e26a-b736-4d53-afc3-effbe538117e X-Archives-Hash: 2d0fb0d9be5ebd3590e58a6d3e7e2c17 commit: 755410e6ef4a7562d68b4c0288efd569696979b6 Author: Kerin Millar plushkava net> AuthorDate: Mon Feb 13 04:02:28 2023 +0000 Commit: Sam James gentoo org> CommitDate: Mon Feb 13 21:35:40 2023 +0000 URL: https://gitweb.gentoo.org/proj/gentoo-functions.git/commit/?id=755410e6 Have veindent() and veoutdent() propagate the positional parameters There is no apparent reason for them not to do so. This also alleviates some SC2219 and SC2120 warnings issued by shellcheck. Signed-off-by: Kerin Millar plushkava.net> Signed-off-by: Sam James gentoo.org> functions.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/functions.sh b/functions.sh index 3c782cd..4747b0e 100644 --- a/functions.sh +++ b/functions.sh @@ -350,14 +350,14 @@ vewend() veindent() { if yesno "${EINFO_VERBOSE}"; then - eindent + eindent "$@" fi } veoutdent() { if yesno "${EINFO_VERBOSE}"; then - eoutdent + eoutdent "$@" fi }