Ignore:
Timestamp:
Nov 4, 2007, 3:16:40 AM (16 years ago)
Author:
Bruno Cornec
Message:

Update to busybox 1.7.2

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/2.2.5/mindi-busybox/scripts/checkhelp.awk

    r821 r1765  
    33#
    44# Copyright (C) 2006 Bernhard Fischer
    5 # 
     5#
    66# This file is distributed under the terms and conditions of the
    77# MIT/X public licenses. See http://opensource.org/licenses/mit-license.html
     
    2121    }
    2222}
    23 /^[[:space:]]*help[[:space:]]*$/ {
     23/^[ \t]*help[ \t]*$/ {
    2424    help[pos] = 1;
    2525}
    26 /^[[:space:]]*bool[[:space:]]*$/ {
     26/^[ \t]*bool[ \t]*$/ {
    2727    help[pos] = 1; # ignore options which are not selectable
    2828}
     
    3232}
    3333END {
    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]);
    3636        if (help[i] == 0) {
    3737            printf("%s: No helptext for '%s'\n", file[i], conf[i]);
Note: See TracChangeset for help on using the changeset viewer.