- reinstate "make checkhelp"
This commit is contained in:
parent
aad4999eea
commit
d6bbf99a8b
2 changed files with 8 additions and 7 deletions
|
@ -20,10 +20,10 @@
|
|||
help[pos] = 0;
|
||||
}
|
||||
}
|
||||
/^[[:space:]]*help[[:space:]]*$/ {
|
||||
/^[ \t]*help[ \t]*$/ {
|
||||
help[pos] = 1;
|
||||
}
|
||||
/^[[:space:]]*bool[[:space:]]*$/ {
|
||||
/^[ \t]*bool[ \t]*$/ {
|
||||
help[pos] = 1; # ignore options which are not selectable
|
||||
}
|
||||
BEGIN {
|
||||
|
@ -31,8 +31,8 @@ BEGIN {
|
|||
is_choice = 0;
|
||||
}
|
||||
END {
|
||||
for (i = 0; i < pos; i++) {
|
||||
# printf("%s: help for #%i '%s' == %i\n", file[i], i, conf[i], help[i]);
|
||||
for (i = 0; i <= pos; i++) {
|
||||
# printf("%s: help for #%i '%s' == %i\n", file[i], i, conf[i], help[i]);
|
||||
if (help[i] == 0) {
|
||||
printf("%s: No helptext for '%s'\n", file[i], conf[i]);
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue