Skip to content

Commit 390b7c5

Browse files
committed
Adapt usages of the HELP_GOTO_CHECK macro
Adapt the help messages of all the tools to work with the macro HELP_GOTO_CHECK which is now using help_entry() for the entry for --overly-large-allocation-check
1 parent 5dba441 commit 390b7c5

File tree

4 files changed

+4
-4
lines changed

4 files changed

+4
-4
lines changed

src/cbmc/cbmc_parse_options.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1067,7 +1067,7 @@ void cbmc_parse_optionst::help()
10671067
HELP_SHOW_GOTO_FUNCTIONS
10681068
"\n"
10691069
"Program instrumentation options:\n"
1070-
HELP_GOTO_CHECK
1070+
<< HELP_GOTO_CHECK <<
10711071
" --no-assertions ignore user assertions\n"
10721072
" --no-assumptions ignore user assumptions\n"
10731073
" --error-label label check that label is unreachable\n"

src/goto-analyzer/goto_analyzer_parse_options.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -916,7 +916,7 @@ void goto_analyzer_parse_optionst::help()
916916
HELP_SHOW_PROPERTIES
917917
"\n"
918918
"Program instrumentation options:\n"
919-
HELP_GOTO_CHECK
919+
<< HELP_GOTO_CHECK <<
920920
"\n"
921921
"Other options:\n"
922922
HELP_VALIDATE

src/goto-diff/goto_diff_parse_options.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -407,7 +407,7 @@ void goto_diff_parse_optionst::help()
407407
" --compact-output output dependencies in compact mode\n"
408408
"\n"
409409
"Program instrumentation options:\n"
410-
HELP_GOTO_CHECK
410+
<< HELP_GOTO_CHECK <<
411411
" --cover CC create test-suite with coverage criterion CC\n" // NOLINT(*)
412412
"Other options:\n"
413413
" --version show version and exit\n"

src/goto-instrument/goto_instrument_parse_options.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1792,7 +1792,7 @@ void goto_instrument_parse_optionst::help()
17921792
"\n"
17931793
"Safety checks:\n"
17941794
" --no-assertions ignore user assertions\n"
1795-
HELP_GOTO_CHECK
1795+
<< HELP_GOTO_CHECK <<
17961796
" --uninitialized-check add checks for uninitialized locals (experimental)\n" // NOLINT(*)
17971797
" --error-label label check that label is unreachable\n"
17981798
" --stack-depth n add check that call stack size of non-inlined functions never exceeds n\n" // NOLINT(*)

0 commit comments

Comments
 (0)