Add multi source files option in Bash version.

This commit is contained in:
dig 2019-04-23 20:04:58 +02:00
parent c4817634d5
commit 728fa33f94
1 changed files with 1 additions and 1 deletions

View File

@ -61,7 +61,7 @@ show_error() {
}
parse_documentation() {
documentation="$(grep "^##" "$(which "$0")")(no-trim)"
documentation="$(cat "$0" $easyoptions_include | grep "^##")(no-trim)"
documentation=$(echo "$documentation" | sed -r "s/## ?//" | sed -r "s/@script.name/$(basename "$0")/g" | sed "s/@#/@/g")
documentation=${documentation%(no-trim)}
}