_parse_help: Use -r to "read" to avoid backslash issues.
This commit is contained in:
parent
33900b8724
commit
cec611fa51
@ -785,7 +785,7 @@ _parse_help()
|
||||
{
|
||||
eval local cmd=$1
|
||||
local line
|
||||
"$cmd" ${2:---help} 2>&1 | while read line; do
|
||||
"$cmd" ${2:---help} 2>&1 | while read -r line; do
|
||||
|
||||
[[ $line == *([ $'\t'])-* ]] || continue
|
||||
__parse_options "$line"
|
||||
|
Loading…
x
Reference in New Issue
Block a user