test: unify all the command line usage logging.

--HG--
extra : rebase_source : dd9a05d9ee69ae14e8462bee898c5df4e372424b
This commit is contained in:
Ryan C. Gordon 2019-05-28 17:39:13 -04:00
parent eebad73d2f
commit 3d85deba6b
14 changed files with 71 additions and 41 deletions

View file

@ -80,8 +80,8 @@ main(int argc, char *argv[])
}
}
if (consumed < 0) {
SDL_Log("Usage: %s %s [--iterations #] [--execKey #] [--seed string] [--filter suite_name|test_name]\n",
argv[0], SDLTest_CommonUsage(state));
static const char *options[] = { "[--iterations #]", "[--execKey #]", "[--seed string]", "[--filter suite_name|test_name]", NULL };
SDLTest_CommonLogUsage(state, argv[0], options);
quit(1);
}