From 6fea81b897ce4a346c90902f1c95190875afc2d9 Mon Sep 17 00:00:00 2001 From: Tan Chee Keong Date: Tue, 12 Mar 2024 07:40:16 +0800 Subject: [PATCH] Adjust width --- scripts/cli.sh | 3 +++ 1 file changed, 3 insertions(+) diff --git a/scripts/cli.sh b/scripts/cli.sh index 7ba98d08ba..2767ed73c8 100755 --- a/scripts/cli.sh +++ b/scripts/cli.sh @@ -17,6 +17,9 @@ write_to_file() { # We need to add the header and the backticks to create the code block. printf "# %s\n\n\`\`\`\n%s\n\`\`\`" "$program" "$cmd" > "$file" + + # Adjust the width of the help text and append to the end of file + sed -i -e '$a\'$'\n''' "$file" } CMD=./target/release/lighthouse