Add help text.

This commit is contained in:
Ian Gulliver
2016-03-04 22:02:31 -08:00
parent 5c7ea5d4e9
commit 3c8e283d6f

View File

@@ -311,7 +311,16 @@ int main(int argc, char *argv[]) {
rand_init(); rand_init();
if (!parse_opts(argc, argv)) { if (!parse_opts(argc, argv)) {
fprintf(stderr, "Usage: TODO\n"); fprintf(stderr,
"Usage: %s [OPTION]...\n"
"\n"
"Options:\n"
"\t--blob-dir=PATH [required]\n"
"\t--host=HOST [required]\n"
"\t--port=PORT [required]\n"
"\t--cycle-ms=CYCLE_MILLSECONDS [default 50]\n"
"\t--num-conns=PARALLEL_CONNECTIONS [default 100]\n"
, argv[0]);
exit(EXIT_FAILURE); exit(EXIT_FAILURE);
} }