tests/heap: fix help strings

This commit is contained in:
Philippe Gerum 2019-06-27 10:17:44 +02:00
parent 628c6f456d
commit 0ca0d13604
1 changed files with 6 additions and 2 deletions

View File

@ -669,8 +669,12 @@ bad:
static void usage(void)
{
fprintf(stderr, "usage: latmus [options]:\n");
fprintf(stderr, "-p --period sampling period (us)\n");
fprintf(stderr, "usage: heap-torture [options]:\n");
fprintf(stderr, "-s --sequential-test-size heap size for sequential access tests\n");
fprintf(stderr, "-p --pattern-test-size heap size for pattern tests\n");
fprintf(stderr, "-c --pattern-check-rounds number of pattern tests\n");
fprintf(stderr, "-r --random-check-rounds number of random allocation tests\n");
fprintf(stderr, "-v --verbose turn on verbosity\n");
}
#define short_optlist "s:p:c:r:v"