aboutsummaryrefslogtreecommitdiffstats
path: root/check-manpages.sh
diff options
context:
space:
mode:
Diffstat (limited to 'check-manpages.sh')
-rwxr-xr-xcheck-manpages.sh6
1 files changed, 6 insertions, 0 deletions
diff --git a/check-manpages.sh b/check-manpages.sh
index a522811..b455fec 100755
--- a/check-manpages.sh
+++ b/check-manpages.sh
@@ -15,9 +15,15 @@ cd $1
MAIN=libtracefs
MAIN_FILE=${MAIN}.txt
+# Ignore man pages that do not contain functions
+IGNORE="libtracefs-options.txt"
+
for man in ${MAIN}-*.txt; do
sed -ne '/^NAME/,/^SYNOP/{/^[a-z]/{s/, *$//;s/,/\n/g;s/ //g;s/-.*$/-/;/-/{s/-//p;q};p}}' $man | while read a; do
+ if [ "${IGNORE/$man/}" != "${IGNORE}" ]; then
+ continue
+ fi
if ! grep -q '\*'${a}'\*' $MAIN_FILE; then
if [ "$last" == "" ]; then
echo