test: unify all the command line usage logging.
--HG-- extra : rebase_source : dd9a05d9ee69ae14e8462bee898c5df4e372424b
This commit is contained in:
parent
eebad73d2f
commit
3d85deba6b
14 changed files with 71 additions and 41 deletions
|
@ -64,7 +64,8 @@ main(int argc, char** argv)
|
|||
|
||||
if(consumed < 0)
|
||||
{
|
||||
SDLTest_Log("Usage: %s %s [--exit-code N] [--crash] [--hang]", argv[0], SDLTest_CommonUsage(state));
|
||||
static const char *options = { "[--exit-code N]", "[--crash]", "[--hang]", NULL };
|
||||
SDLTest_CommonLogUsage(state, argv[0], options);
|
||||
SDLTest_CommonQuit(state);
|
||||
return 1;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue