Commit 20d955aa authored by Caleb C. Sander's avatar Caleb C. Sander
Browse files

Fix usage message

parent 9777f43b
No related merge requests found
Pipeline #19469 canceled with stage
Showing with 11 additions and 10 deletions
+11 -10
......@@ -1233,14 +1233,15 @@ void malloc_error(const trace_t *trace, int opnum, const char *fmt, ...)
*/
static void usage(void)
{
fprintf(stderr, "Usage: mdriver [-hlVdD] [-f <file>]\n");
fprintf(stderr, "Options\n");
fprintf(stderr, "\t-d <i> Debug: 0 off; 1 default; 2 lots.\n");
fprintf(stderr, "\t-D Equivalent to -d2.\n");
fprintf(stderr, "\t-c <file> Run trace file <file> once, check for correctness only.\n");
fprintf(stderr, "\t-t <dir> Directory to find default traces.\n");
fprintf(stderr, "\t-h Print this message.\n");
fprintf(stderr, "\t-l Run libc malloc as well.\n");
fprintf(stderr, "\t-s <s> Timeout after s secs (default no timeout)\n");
fprintf(stderr, "\t-f <file> Use <file> as the trace file.\n");
fprintf(stderr,
"Usage: mdriver [-hlD] [-d <i>] [-t <dir>] [-c <file>] [-f <file>]\n"
"Options\n"
"\t-d <i> Debug: 0 off; 1 default; 2 lots.\n"
"\t-D Equivalent to -d2.\n"
"\t-c <file> Run trace file <file> once, check for correctness only.\n"
"\t-t <dir> Directory to find default traces.\n"
"\t-h Print this message.\n"
"\t-l Run libc malloc as well.\n"
"\t-f <file> Use <file> as the trace file.\n"
);
}
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment