test: unify all the command line usage logging.
This commit is contained in:
1 parent
9b5811592d
commit
b5d3b6fc25
14 files changed
+71
-41
No files matched your search
+2
-2
@@ -248,8 +248,8 @@ main(int argc, char *argv[])
|
||||
}
|
||||
}
|
||||
if (consumed < 0) {
|
||||
SDL_Log("Usage: %s %s [--fsaa n] [--accel n]\n", argv[0],
|
||||
SDLTest_CommonUsage(state));
|
||||
static const char *options[] = { "[--fsaa n]", "[--accel n]", NULL };
|
||||
SDLTest_CommonLogUsage(state, argv[0], options);
|
||||
quit(1);
|
||||
}
|
||||
i += consumed;
|
||||
|
||||
Reference in new issue
Block a user