Now we can have --verbose=[012], so that the default (0) is still quiet,
the easy verbose flag (--verbose or -v) is noisy but useful (1), and if
you really want some extra noise, you can choose (2). Right now, there
is some minimal extra noise in (2), but this may be expanded if we want
more run-time debuggability, rather than recompiling with 'make debug'.
" 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"
params->fairwindow,
params->enabledcount,
params->bound,
+ params->verbose,
params->uninitvalue);
model_print("Analysis plugins:\n");
for(unsigned int i=0;i<registeredanalysis->size();i++) {
{
print_program_output();
- if (params.verbose) {
+ if (params.verbose >= 2) {
model_print("Earliest divergence point since last feasible execution:\n");
if (earliest_diverge)
earliest_diverge->print();
* value */
unsigned int expireslop;
- /** @brief Verbosity (0 = quiet; 1 = noisy) */
+ /** @brief Verbosity (0 = quiet; 1 = noisy; 2 = noisier) */
int verbose;
/** @brief Command-line argument count to pass to user program */