Skip to content

Commit a06503b

Browse files
authored
Merge pull request diffblue#2197 from tautschnig/fix-help
Fix help output of --generate-function-body-options
2 parents 7c67b23 + 05e4bc3 commit a06503b

File tree

1 file changed

+13
-9
lines changed

1 file changed

+13
-9
lines changed

src/goto-programs/generate_function_bodies.h

+13-9
Original file line numberDiff line numberDiff line change
@@ -68,17 +68,21 @@ void generate_function_bodies(
6868
goto_modelt &model,
6969
message_handlert &message_handler);
7070

71-
#define OPT_REPLACE_FUNCTION_BODY \
72-
"(generate-function-body):" \
71+
// clang-format off
72+
#define OPT_REPLACE_FUNCTION_BODY \
73+
"(generate-function-body):" \
7374
"(generate-function-body-options):"
7475

75-
#define HELP_REPLACE_FUNCTION_BODY \
76-
" --generate-function-body <regex>\n" \
77-
" Generate bodies for functions matching regex" \
78-
" --generate-function-body-options <option>\n" \
79-
" One of assert-false, assume-false,\n" \
80-
" nondet-return, assert-false-assume-false and" \
81-
" \nhavoc[,params:<regex>][,globals:<regex>]\n" \
76+
#define HELP_REPLACE_FUNCTION_BODY \
77+
" --generate-function-body <regex>\n" \
78+
/* NOLINTNEXTLINE(whitespace/line_length) */ \
79+
" Generate bodies for functions matching regex\n" \
80+
" --generate-function-body-options <option>\n" \
81+
" One of assert-false, assume-false,\n" \
82+
/* NOLINTNEXTLINE(whitespace/line_length) */ \
83+
" nondet-return, assert-false-assume-false and\n" \
84+
" havoc[,params:<regex>][,globals:<regex>]\n" \
8285
" (default: nondet-return)"
86+
// clang-format on
8387

8488
#endif // CPROVER_GOTO_PROGRAMS_GENERATE_FUNCTION_BODIES_H

0 commit comments

Comments
 (0)