Showing 1 changed files with 2 additions and 2 deletions
+2 -2
readconf
... ...
@@ -46,8 +46,8 @@ function help (rc) {
46 46
         if (/^#help:BEGIN/) help_started = 1
47 47
         if (/^#help:END/) help_started = 0
48 48
         if (help_started) {
49
-            if (/^[[:blank:]]*case \/\^(.+)\$\/[[:blank:]]*\:[[:blank:]]*$/) {
50
-                option = gensub(/^[[:blank:]]*case \/\^(.+)\$\/[[:blank:]]*\:[[:blank:]]*$/, "\\1", "1")
49
+            if (/^[[:blank:]]*case \/\^(.+)\$\/[[:blank:]]*:[[:blank:]]*$/) {
50
+                option = gensub(/^[[:blank:]]*case \/\^(.+)\$\/[[:blank:]]*:[[:blank:]]*$/, "\\1", "1")
51 51
                 line = line "\n\n\033[1m" option "\033[0m"
52 52
             }
53 53
             else if (/^#help:/ && option != "") {