mirror of
https://github.com/encounter/SDL.git
synced 2025-12-08 13:15:10 +00:00
test: unify all the command line usage logging.
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user