From e9f8be5b2bb00975acb4bb29d0774a81c49c8dbf Mon Sep 17 00:00:00 2001 From: "Max P." Date: Wed, 2 Jul 2025 20:55:36 +0200 Subject: [PATCH] style(bash): remove unnecessary space stripping in help output - Simplifies the sed command by removing redundant space trimming. --- snippets/bash/show_help.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/snippets/bash/show_help.sh b/snippets/bash/show_help.sh index 75d99e6..dfea732 100644 --- a/snippets/bash/show_help.sh +++ b/snippets/bash/show_help.sh @@ -13,7 +13,7 @@ show_help() { sed -n '/^#=== HELP START ===/,/^#=== HELP END ===/ { /^#=== HELP START ===/d /^#=== HELP END ===/d - s/^# *// + s/^#// p }' "$0" }