@@ -865,7 +865,8 @@ void cbmc_parse_optionst::help()
865
865
" Usage: Purpose:\n "
866
866
" \n "
867
867
" cbmc [-?] [-h] [--help] show help\n "
868
- " cbmc file.c ... source file names\n "
868
+ " cbmc --version show version and exit\n "
869
+ " cbmc [options] file.c ... perform bounded model checking\n "
869
870
" \n "
870
871
" Analysis options:\n "
871
872
HELP_SHOW_PROPERTIES
@@ -878,6 +879,7 @@ void cbmc_parse_optionst::help()
878
879
" \n "
879
880
" C/C++ frontend options:\n "
880
881
" --preprocess stop after preprocessing\n "
882
+ " --test-preprocessor stop after preprocessing, discard output\n "
881
883
HELP_CONFIG_C_CPP
882
884
HELP_ANSI_C_LANGUAGE
883
885
HELP_FUNCTIONS
@@ -889,6 +891,7 @@ void cbmc_parse_optionst::help()
889
891
" --show-parse-tree show parse tree\n "
890
892
" --show-symbol-table show loaded symbol table\n "
891
893
HELP_SHOW_GOTO_FUNCTIONS
894
+ HELP_VALIDATE
892
895
" \n "
893
896
" Program instrumentation options:\n "
894
897
HELP_GOTO_CHECK
@@ -916,19 +919,17 @@ void cbmc_parse_optionst::help()
916
919
HELP_STRING_REFINEMENT_CBMC
917
920
" --arrays-uf-never never turn arrays into uninterpreted functions\n " // NOLINT(*)
918
921
" --arrays-uf-always always turn arrays into uninterpreted functions\n " // NOLINT(*)
922
+ " --show-array-constraints show array theory constraints added\n "
923
+ " during post processing.\n "
924
+ " Requires --json-ui.\n "
919
925
" \n "
920
- " Other options:\n "
921
- " --version show version and exit\n "
926
+ " User-interface options:\n "
922
927
HELP_XML_INTERFACE
923
928
HELP_JSON_INTERFACE
924
- HELP_VALIDATE
925
929
HELP_GOTO_TRACE
926
930
HELP_FLUSH
927
931
" --verbosity # verbosity level\n "
928
932
HELP_TIMESTAMP
929
- " --show-array-constraints show array theory constraints added\n "
930
- " during post processing.\n "
931
- " Requires --json-ui.\n "
932
933
" \n " ;
933
934
// clang-format on
934
935
}
0 commit comments