X-Git-Url: https://git.draconx.ca/gitweb/dxcommon.git/blobdiff_plain/62bc7469bf3ef88c4f81ddf615aa7dabe9ddbf74..e5d13e101de909b69a33cfe26e243148df8cbf51:/scripts/gen-options.awk diff --git a/scripts/gen-options.awk b/scripts/gen-options.awk index 679dc99..f1dbb1c 100755 --- a/scripts/gen-options.awk +++ b/scripts/gen-options.awk @@ -213,7 +213,9 @@ lopt { sub(/^[ \t]*/, "") if (!$0) { next } - optionhelp[lopt] = (lopt in optionhelp ? optionhelp[lopt] "\n" : "") $0 + if (lopt in optionhelp) + $0 = "\n" $0; + optionhelp[lopt] = optionhelp[lopt] $0; } # Exit immediately on error