aboutsummaryrefslogtreecommitdiff
path: root/scripts/warn-undocumented
diff options
context:
space:
mode:
authorKimplul <kimi.h.kuparinen@gmail.com>2022-09-02 13:19:06 +0300
committerKimplul <kimi.h.kuparinen@gmail.com>2022-09-02 13:19:36 +0300
commit9398194058eeb365bfc985b31b4049ccfd44ac45 (patch)
treeb1de80a7dd3b2528457505b46355ca9d21130ad9 /scripts/warn-undocumented
parent66eaaba9703bcb062d2078aede3b85c4a6f3a485 (diff)
downloadkmi-9398194058eeb365bfc985b31b4049ccfd44ac45.tar.gz
kmi-9398194058eeb365bfc985b31b4049ccfd44ac45.zip
fix documentation warnings
Diffstat (limited to 'scripts/warn-undocumented')
-rwxr-xr-xscripts/warn-undocumented2
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/warn-undocumented b/scripts/warn-undocumented
index 78f1401..8cb46c8 100755
--- a/scripts/warn-undocumented
+++ b/scripts/warn-undocumented
@@ -1,6 +1,6 @@
#!/bin/sh
# look through all files for either @file or \file, grep -c will report
# ./example.file:0 if it is not found.
-find arch lib common include -iname '*.[ch]' -exec \
+find arch lib common include -iname '*.[ch]' -not -path */gen/* -exec \
grep -c '[@\]file' {} \+ \
| awk -F':' '$2 == 0 {print "Undocumented file:", $1}'