mirror of
https://github.com/flatcar/scripts.git
synced 2025-09-22 14:11:07 +02:00
pkg-auto: Strip only one space when printing help
This commit is contained in:
parent
3a106bb87e
commit
a75a5ed7bf
@ -141,7 +141,7 @@ function yell() {
|
|||||||
# hashes in the top sourcer of this file.
|
# hashes in the top sourcer of this file.
|
||||||
function print_help() {
|
function print_help() {
|
||||||
if [[ ${THIS} != "${BASH}" ]]; then
|
if [[ ${THIS} != "${BASH}" ]]; then
|
||||||
grep '^##' "${THIS}" | sed -e 's/##[[:space:]]*//'
|
grep '^##' "${THIS}" | sed -e 's/##[[:space:]]\?//'
|
||||||
fi
|
fi
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user