X-Git-Url: http://demsky.eecs.uci.edu/git/?a=blobdiff_plain;f=main.cc;h=8416a79c88db8b35b5d706413d36da8160b3afc0;hb=66da4eeb0b6c0e3cce5ef7788eb64151e536d68d;hp=5a33baf996bc3d0f85f11108797b8907c89b6507;hpb=a4d3f2ae3f3a9e2a30cc36c92cee9f83bb09e9b1;p=model-checker.git diff --git a/main.cc b/main.cc index 5a33baf..8416a79 100644 --- a/main.cc +++ b/main.cc @@ -46,7 +46,7 @@ static void print_usage(const char *program_name, struct model_params *params) "\n" "Usage: %s [MODEL-CHECKER OPTIONS] -- [PROGRAM ARGS]\n" "\n" -"MODLE-CHECKER OPTIONS can be any of the model-checker options listed below. Arguments\n" +"MODEL-CHECKER OPTIONS can be any of the model-checker options listed below. Arguments\n" "provided after the `--' (the PROGRAM ARGS) are passed to the user program.\n" "\n" "Model-checker options:\n" @@ -75,7 +75,9 @@ static void print_usage(const char *program_name, struct model_params *params) " Default: %d\n" "-b, --bound=MAX Upper length bound.\n" " Default: %d\n" -"-v, --verbose Print verbose execution information.\n" +"-v[NUM], --verbose[=NUM] Print verbose execution information. NUM is optional:\n" +" 0 is quiet; 1 is noisy; 2 is noisier.\n" +" Default: %d\n" "-u, --uninitialized=VALUE Return VALUE any load which may read from an\n" " uninitialized atomic.\n" " Default: %u\n" @@ -93,8 +95,9 @@ static void print_usage(const char *program_name, struct model_params *params) params->fairwindow, params->enabledcount, params->bound, + params->verbose, params->uninitvalue); - model_print("Analysis plug ins:\n"); + model_print("Analysis plugins:\n"); for(unsigned int i=0;isize();i++) { TraceAnalysis * analysis=(*registeredanalysis)[i]; model_print("%s\n", analysis->name());