Docs: Fix error during CLI usage build (#8956)

automerge
This commit is contained in:
Trent Nelson
2020-03-18 23:24:42 -06:00
committed by GitHub
parent 6fb16f9879
commit e547f38589

View File

@ -25,6 +25,8 @@ section() {
section "$usage" >> "$out" section "$usage" >> "$out"
usage=$(sed -e '/^ \{5,\}/d' <<<"$usage")
in_subcommands=0 in_subcommands=0
while read -r subcommand rest; do while read -r subcommand rest; do
[[ $subcommand == "SUBCOMMANDS:" ]] && in_subcommands=1 && continue [[ $subcommand == "SUBCOMMANDS:" ]] && in_subcommands=1 && continue