Help : Insert newline before Usage info.

This commit is contained in:
Dmitry Voronin 2024-02-03 02:51:38 +03:00
parent b2659806ba
commit 0c16bad826

View file

@ -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.