aboutsummaryrefslogtreecommitdiff
path: root/scripts/checkhelp.awk
diff options
context:
space:
mode:
authoraldot <aldot@69ca8d6d-28ef-0310-b511-8ec308f3f277>2006-05-05 14:05:21 +0000
committeraldot <aldot@69ca8d6d-28ef-0310-b511-8ec308f3f277>2006-05-05 14:05:21 +0000
commit280f289900b180c468314f3a4a0d17f5e583dc06 (patch)
tree76b049fd64279f119cfee34613119c6138ed682f /scripts/checkhelp.awk
parent8347947c8d618cc70bccc1ed9b10269e445de96f (diff)
downloadbusybox-w32-280f289900b180c468314f3a4a0d17f5e583dc06.tar.gz
busybox-w32-280f289900b180c468314f3a4a0d17f5e583dc06.tar.bz2
busybox-w32-280f289900b180c468314f3a4a0d17f5e583dc06.zip
- ignore missing helptext for options which are not selectable.
git-svn-id: svn://busybox.net/trunk/busybox@15004 69ca8d6d-28ef-0310-b511-8ec308f3f277
Diffstat (limited to '')
-rwxr-xr-xscripts/checkhelp.awk3
1 files changed, 3 insertions, 0 deletions
diff --git a/scripts/checkhelp.awk b/scripts/checkhelp.awk
index 1a7e0ea8e..85d0661a7 100755
--- a/scripts/checkhelp.awk
+++ b/scripts/checkhelp.awk
@@ -23,6 +23,9 @@
23/^[[:space:]]*help[[:space:]]*$/ { 23/^[[:space:]]*help[[:space:]]*$/ {
24 help[pos] = 1; 24 help[pos] = 1;
25} 25}
26/^[[:space:]]*bool[[:space:]]*$/ {
27 help[pos] = 1; # ignore options which are not selectable
28}
26BEGIN { 29BEGIN {
27 pos = -1; 30 pos = -1;
28 is_choice = 0; 31 is_choice = 0;