Skip to content

Commit 3ec5bfd

Browse files
committed
Don't expect goto-check negative checks for goto-diff manpage.
1 parent 7838ad8 commit 3ec5bfd

File tree

1 file changed

+15
-0
lines changed

1 file changed

+15
-0
lines changed

scripts/check_help.sh

+15
Original file line numberDiff line numberDiff line change
@@ -91,6 +91,21 @@ for t in \
9191
echo "$undoc" | sed 's/^/\\fB/;s/-/\\-/g;s/$/\\fR/' >> man_page_opts
9292
done
9393
;;
94+
# goto-diff is a bit of a peculiar situation in that it initialises some
95+
# of its options using the PARSE_OPTIONS_GOTO_CHECK macro which initialises
96+
# the negative checks (being the mirror image of the default checks), which
97+
# this tool doesn't make use of - but there's also no good way to remove
98+
# given our current architecture. Thus, we just don't document them (and
99+
# ignore them if someone falls on them by accident).
100+
goto-diff)
101+
for undoc in \
102+
-no-pointer-check -no-bounds-check -no-undefined-shift-check \
103+
-no-pointer-primitive-check -no-div-by-zero-check \
104+
-no-signed-overflow-check ; do
105+
echo "$undoc" >> help_string
106+
echo "$undoc" | sed 's/^/\\fB/;s/-/\\-/g;s/$/\\fR/' >> man_page_opts
107+
done
108+
;;
94109
janalyzer)
95110
# -jar, -gb are documented, but in a different format
96111
for undoc in -show-intervals -show-non-null -jar -gb ; do

0 commit comments

Comments
 (0)