Skip to content

Commit 4948b70

Browse files
authored
Merge pull request #1712 from karkhaz/kk-flush-all
Add --flush option to flush all output
2 parents e0bc5fd + 1ef0f41 commit 4948b70

14 files changed

+39
-3
lines changed

src/cbmc/cbmc_parse_options.cpp

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -976,6 +976,7 @@ void cbmc_parse_optionst::help()
976976
" --xml-interface bi-directional XML interface\n"
977977
" --json-ui use JSON-formatted output\n"
978978
HELP_GOTO_TRACE
979+
HELP_FLUSH
979980
" --verbosity # verbosity level\n"
980981
HELP_TIMESTAMP
981982
"\n";

src/cbmc/cbmc_parse_options.h

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -71,6 +71,7 @@ class optionst;
7171
"(arrays-uf-always)(arrays-uf-never)" \
7272
"(string-abstraction)(no-arch)(arch):" \
7373
"(round-to-nearest)(round-to-plus-inf)(round-to-minus-inf)(round-to-zero)" \
74+
OPT_FLUSH \
7475
"(localize-faults)(localize-faults-method):" \
7576
OPT_GOTO_TRACE \
7677
"(claim):(show-claims)(fixedbv)(floatbv)(all-claims)(all-properties)" // legacy, and will eventually disappear // NOLINT(whitespace/line_length)

src/goto-analyzer/goto_analyzer_parse_options.cpp

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -906,6 +906,7 @@ void goto_analyzer_parse_optionst::help()
906906
"\n"
907907
"Other options:\n"
908908
" --version show version and exit\n"
909+
HELP_FLUSH
909910
HELP_TIMESTAMP
910911
"\n";
911912
// clang-format on

src/goto-analyzer/goto_analyzer_parse_options.h

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -139,6 +139,7 @@ class optionst;
139139
"(show-local-may-alias)" \
140140
"(json):(xml):" \
141141
"(text):(dot):" \
142+
OPT_FLUSH \
142143
OPT_TIMESTAMP \
143144
"(unreachable-instructions)(unreachable-functions)" \
144145
"(reachable-functions)" \

src/goto-diff/goto_diff_parse_options.cpp

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -537,6 +537,7 @@ void goto_diff_parse_optionst::help()
537537
"Other options:\n"
538538
" --version show version and exit\n"
539539
" --json-ui use JSON-formatted output\n"
540+
HELP_FLUSH
540541
HELP_TIMESTAMP
541542
"\n";
542543
// clang-format on

src/goto-diff/goto_diff_parse_options.h

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -35,6 +35,7 @@ class optionst;
3535
OPT_GOTO_CHECK \
3636
"(cover):" \
3737
"(verbosity):(version)" \
38+
OPT_FLUSH \
3839
OPT_TIMESTAMP \
3940
"u(unified)(change-impact)(forward-impact)(backward-impact)" \
4041
"(compact-output)"

src/goto-instrument/goto_instrument_parse_options.cpp

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1580,6 +1580,7 @@ void goto_instrument_parse_optionst::help()
15801580
" --use-all-headers with --dump-c/--dump-cpp: generate C source with all includes\n" // NOLINT(*)
15811581
" --harness with --dump-c/--dump-cpp: include input generator in output\n" // NOLINT(*)
15821582
" --version show version and exit\n"
1583+
HELP_FLUSH
15831584
" --xml-ui use XML-formatted output\n"
15841585
" --json-ui use JSON-formatted output\n"
15851586
HELP_TIMESTAMP

src/goto-instrument/goto_instrument_parse_options.h

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -87,6 +87,7 @@ Author: Daniel Kroening, [email protected]
8787
"(show-threaded)(list-calls-args)(print-path-lengths)" \
8888
"(undefined-function-is-assume-false)" \
8989
"(remove-function-body):"\
90+
OPT_FLUSH \
9091
"(splice-call):" \
9192
OPT_REMOVE_CALLS_NO_BODY \
9293
OPT_REPLACE_FUNCTION_BODY

src/jbmc/jbmc_parse_options.cpp

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1086,6 +1086,7 @@ void jbmc_parse_optionst::help()
10861086
" --xml-ui use XML-formatted output\n"
10871087
" --json-ui use JSON-formatted output\n"
10881088
HELP_GOTO_TRACE
1089+
HELP_FLUSH
10891090
" --verbosity # verbosity level\n"
10901091
HELP_TIMESTAMP
10911092
"\n";

src/jbmc/jbmc_parse_options.h

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -71,6 +71,7 @@ class optionst;
7171
"(ppc-macos)" \
7272
"(arrays-uf-always)(arrays-uf-never)" \
7373
"(no-arch)(arch):" \
74+
OPT_FLUSH \
7475
JAVA_BYTECODE_LANGUAGE_OPTIONS \
7576
"(java-unwind-enum-static)" \
7677
"(localize-faults)(localize-faults-method):" \

0 commit comments

Comments
 (0)