diff mbox series

[9/9] libtraceevent: Add tep_print_field() to check-manpages.sh deprecated

Message ID 20220922152510.3335601-10-rostedt@goodmis.org (mailing list archive)
State Accepted
Commit a5962998dfc03970fe3fb5ca2a2f33f4516890ef
Headers show
Series libtraceevent: Add checks for man pages | expand

Commit Message

Steven Rostedt Sept. 22, 2022, 3:25 p.m. UTC
From: "Steven Rostedt (Google)" <rostedt@goodmis.org>

As tep_print_field() is deprecated, do not report it as missing from the
man pages.

Signed-off-by: Steven Rostedt (Google) <rostedt@goodmis.org>
---
 check-manpages.sh | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
diff mbox series

Patch

diff --git a/check-manpages.sh b/check-manpages.sh
index a2f4f264b42b..06a94f154ff9 100755
--- a/check-manpages.sh
+++ b/check-manpages.sh
@@ -37,7 +37,7 @@  for man in ${MAIN}-*.txt; do
 	done
 done
 
-DEPRECATED=""
+DEPRECATED="*tep_print_field*"
 
 sed -ne 's/^[a-z].*[ \*]\([a-z_][a-z_]*\)(.*/\1/p' -e 's/^\([a-z_][a-z_]*\)(.*/\1/p' ../include/traceevent/event-parse.h | while read f; do
 	if ! grep -q '\*'${f}'\*' $MAIN_FILE; then