Skip to content

Commit a75a5ed

Browse files
committed
pkg-auto: Strip only one space when printing help
1 parent 3a106bb commit a75a5ed

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

pkg_auto/impl/util.sh

+1-1
Original file line numberDiff line numberDiff line change
@@ -141,7 +141,7 @@ function yell() {
141141
# hashes in the top sourcer of this file.
142142
function print_help() {
143143
if [[ ${THIS} != "${BASH}" ]]; then
144-
grep '^##' "${THIS}" | sed -e 's/##[[:space:]]*//'
144+
grep '^##' "${THIS}" | sed -e 's/##[[:space:]]\?//'
145145
fi
146146
}
147147

0 commit comments

Comments
 (0)