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
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 0 deletions

View File

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