test: unify all the command line usage logging.

This commit is contained in:
Ryan C. Gordon committed 2019-05-28 17:39:13 -04:00
1 parent 9b5811592d
commit b5d3b6fc25
14 files changed
+71 -41

No files matched your search

+2 -2
View File
@@ -315,8 +315,8 @@ main(int argc, char *argv[])
}
}
if (consumed < 0) {
SDL_Log("Usage: %s %s [--blend none|blend|add|mod] [--cyclecolor] [--cyclealpha]\n",
argv[0], SDLTest_CommonUsage(state));
static const char *options[] = { "[--blend none|blend|add|mod]", "[--cyclecolor]", "[--cyclealpha]", NULL };
SDLTest_CommonLogUsage(state, argv[0], options);
return 1;
}
i += consumed;