Changeset 1770 in MondoRescue for branches/stable/mindi-busybox/scripts/checkhelp.awk
- Timestamp:
- Nov 6, 2007, 11:01:53 AM (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/stable/mindi-busybox/scripts/checkhelp.awk
r821 r1770 3 3 # 4 4 # Copyright (C) 2006 Bernhard Fischer 5 # 5 # 6 6 # This file is distributed under the terms and conditions of the 7 7 # MIT/X public licenses. See http://opensource.org/licenses/mit-license.html … … 21 21 } 22 22 } 23 /^[ [:space:]]*help[[:space:]]*$/ {23 /^[ \t]*help[ \t]*$/ { 24 24 help[pos] = 1; 25 25 } 26 /^[ [:space:]]*bool[[:space:]]*$/ {26 /^[ \t]*bool[ \t]*$/ { 27 27 help[pos] = 1; # ignore options which are not selectable 28 28 } … … 32 32 } 33 33 END { 34 for (i = 0; i < pos; i++) {35 # printf("%s: help for #%i '%s' == %i\n", file[i], i, conf[i], help[i]);34 for (i = 0; i <= pos; i++) { 35 # printf("%s: help for #%i '%s' == %i\n", file[i], i, conf[i], help[i]); 36 36 if (help[i] == 0) { 37 37 printf("%s: No helptext for '%s'\n", file[i], conf[i]);
Note:
See TracChangeset
for help on using the changeset viewer.