summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSlatian <baschdel@disroot.org>2024-02-03 17:06:51 +0100
committerSlatian <baschdel@disroot.org>2024-02-03 17:06:51 +0100
commita137f2ba87620402aca21b14fb1d79517782dd29 (patch)
tree276b6a4f7b8aebacf22bfcdf70e3fb91548bd0c3
parent403a720ad18920030418a7c3d1f2caba9ce3892d (diff)
Adapt the script the places the _MANUALPAGE and _USAGE sections to handle the new quotes
-rw-r--r--scripts/generate-help-script.awk8
1 files changed, 4 insertions, 4 deletions
diff --git a/scripts/generate-help-script.awk b/scripts/generate-help-script.awk
index d4bf76e..c36c1db 100644
--- a/scripts/generate-help-script.awk
+++ b/scripts/generate-help-script.awk
@@ -47,8 +47,8 @@
# Insert the examples text from the .txt file
-# after the "cat << _MANUALPAGE" line
-/^cat << _MANUALPAGE/ {
+# after the "cat << '_MANUALPAGE'" line
+/^cat << '_MANUALPAGE'/ {
# determine the name of the .txt file
txtfile = FILENAME
sub(/\.in$/, ".txt", txtfile)
@@ -71,8 +71,8 @@
# Insert the usage text from the .txt file
-# after the "cat << _USAGE" line
-/^cat << _USAGE/ {
+# after the "cat << '_USAGE'" line
+/^cat << '_USAGE'/ {
# determine the name of the .txt file
txtfile = FILENAME
sub(/\.in$/, ".txt", txtfile)