From: Brian Norris Date: Thu, 13 Sep 2012 17:04:28 +0000 (-0700) Subject: main: wrap help message X-Git-Tag: pldi2013~205 X-Git-Url: http://plrg.eecs.uci.edu/git/?p=model-checker.git;a=commitdiff_plain;h=6212d5c302f96afb0c0c4497f7292f061d62be0c main: wrap help message --- diff --git a/main.cc b/main.cc index b58599d..31184fc 100644 --- a/main.cc +++ b/main.cc @@ -16,7 +16,7 @@ static void param_defaults(struct model_params * params) { params->maxreads = 0; - params->maxfuturedelay = 100; + params->maxfuturedelay = 100; } static void print_usage(struct model_params *params) { @@ -25,9 +25,13 @@ static void print_usage(struct model_params *params) { "\n" "Options:\n" "-h Display this help message and exit\n" -"-m Maximum times a thread can read from the same write while other writes exist. Default: %d\n" -"-s Maximum actions that the model checker will wait for a write from the future past the expected number of actions. Default: %d\n" -"-- Program arguments follow.\n\n", params->maxreads, params->maxfuturedelay); +"-m Maximum times a thread can read from the same write\n" +" while other writes exist. Default: %d\n" +"-s Maximum actions that the model checker will wait for\n" +" a write from the future past the expected number of\n" +" actions. Default: %d\n" +"-- Program arguments follow.\n\n", + params->maxreads, params->maxfuturedelay); exit(EXIT_SUCCESS); }