Skip to content

Commit 17fcc70

Browse files
committed
Add --flush option to flush all output
1 parent 0764f77 commit 17fcc70

14 files changed

+41
-3
lines changed

src/cbmc/cbmc_parse_options.cpp

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -990,6 +990,7 @@ void cbmc_parse_optionst::help()
990990
" --xml-interface bi-directional XML interface\n"
991991
" --json-ui use JSON-formatted output\n"
992992
HELP_GOTO_TRACE
993+
HELP_FLUSH
993994
" --verbosity # verbosity level\n"
994995
HELP_TIMESTAMP
995996
"\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
@@ -905,6 +905,7 @@ void goto_analyzer_parse_optionst::help()
905905
"\n"
906906
"Other options:\n"
907907
" --version show version and exit\n"
908+
HELP_FLUSH
908909
HELP_TIMESTAMP
909910
"\n";
910911
// 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
@@ -1573,6 +1573,7 @@ void goto_instrument_parse_optionst::help()
15731573
" --use-all-headers with --dump-c/--dump-cpp: generate C source with all includes\n" // NOLINT(*)
15741574
" --harness with --dump-c/--dump-cpp: include input generator in output\n" // NOLINT(*)
15751575
" --version show version and exit\n"
1576+
HELP_FLUSH
15761577
" --xml-ui use XML-formatted output\n"
15771578
" --json-ui use JSON-formatted output\n"
15781579
HELP_TIMESTAMP

src/goto-instrument/goto_instrument_parse_options.h

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -85,6 +85,7 @@ Author: Daniel Kroening, [email protected]
8585
"(show-threaded)(list-calls-args)(print-path-lengths)" \
8686
"(undefined-function-is-assume-false)" \
8787
"(remove-function-body):"\
88+
OPT_FLUSH \
8889
"(splice-call):" \
8990
OPT_REMOVE_CALLS_NO_BODY
9091
// clang-format on

src/jbmc/jbmc_parse_options.cpp

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1083,6 +1083,7 @@ void jbmc_parse_optionst::help()
10831083
" --xml-ui use XML-formatted output\n"
10841084
" --json-ui use JSON-formatted output\n"
10851085
HELP_GOTO_TRACE
1086+
HELP_FLUSH
10861087
" --verbosity # verbosity level\n"
10871088
HELP_TIMESTAMP
10881089
"\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)