2 # AWK script to check for missing help entries for config options
4 # Copyright (C) 2006 Bernhard Reutner-Fischer
6 # This file is distributed under the terms and conditions of the
7 # MIT/X public licenses. See http://opensource.org/licenses/mit-license.html
8 # and notice http://www.gnu.org/licenses/license-list.html#X11License
11 /^choice/ { is_choice = 1; }
12 /^endchoice/ { is_choice = 0; }
18 help[pos] = 1; # do not warn about 'choice' config entries.
23 /^[ \t]*help[ \t]*$/ {
26 /^[ \t]*bool[ \t]*$/ {
27 help[pos] = 1; # ignore options which are not selectable
34 for (i = 0; i <= pos; i++) {
35 # printf("%s: help for #%i '%s' == %i\n", file[i], i, conf[i], help[i]);
37 printf("%s: No helptext for '%s'\n", file[i], conf[i]);