Skip to content

Commit

Permalink
Fix: reduce README help message width for GitHub (#1148)
Browse files Browse the repository at this point in the history
  • Loading branch information
emmercm authored Jun 1, 2024
1 parent 06accc2 commit 1aa6339
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion scripts/update-readme-help.sh
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ cd "$(dirname "$0")/.."
README="README.md"
HELP="\$ igir --help
$(npm start --silent -- --help "${1:-96}" | sed 's/ *$//g')"
$(npm start --silent -- --help "${1:-94}" | sed 's/ *$//g')"
(awk 'BEGIN {msg=ARGV[1]; delete ARGV[1]; p=1} /^```help/ {print; print msg; p=0} /^```$/ {p=1} p' \
"${HELP}" \
"${README}" > "${README}.temp" || exit 1) && mv -f "${README}.temp" "${README}"

0 comments on commit 1aa6339

Please sign in to comment.