forked from kiss-community/kiss
kiss: nit
This commit is contained in:
parent
d21b33742d
commit
ff86512d3a
4
kiss
4
kiss
@ -1729,8 +1729,6 @@ pkg_help_ext() {
|
||||
max=$((${#p} > max ? ${#p}+1 : max))
|
||||
done
|
||||
|
||||
IFS=\#$IFS
|
||||
|
||||
# Print each extension, grab its description from the second line
|
||||
# in the file and align the output based on the above max.
|
||||
for path do
|
||||
@ -1738,7 +1736,7 @@ pkg_help_ext() {
|
||||
exec 3< "$path"
|
||||
|
||||
# Grab the second line in the extension.
|
||||
{ read -r _ && read -r _ cmt; } <&3
|
||||
{ read -r _ && IFS=\#$IFS read -r _ cmt; } <&3
|
||||
|
||||
printf "%b->%b %-${max}s %s\\n" \
|
||||
"$c1" "$c3" "${path#*/kiss-}" "$cmt"
|
||||
|
Loading…
Reference in New Issue
Block a user