From 0c16bad826f2b48c46583e5c1d72c5b061d79e37 Mon Sep 17 00:00:00 2001 From: Dmitry Voronin Date: Sat, 3 Feb 2024 02:51:38 +0300 Subject: [PATCH] Help : Insert newline before Usage info. --- .config/bash/module/Help.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.config/bash/module/Help.sh b/.config/bash/module/Help.sh index ceb98df..1f36e86 100644 --- a/.config/bash/module/Help.sh +++ b/.config/bash/module/Help.sh @@ -8,7 +8,7 @@ function help() { return 2 fi - sed -e '$s/$/\n/' -s "${BASH_MODULE_PATH}"/* | sed -n -e "/function ${fun}()/q;p" | tac | sed -n -e "/^$/q;p" | tac | sed -e "s/^# \+//" + sed -e '$s/$/\n/' -s "${BASH_MODULE_PATH}"/* | sed -n -e "/function ${fun}()/q;p" | tac | sed -n -e "/^$/q;p" | tac | sed -e "s/^# \+//" -e "\$i \ " } # Short for help.