This commit is contained in:
Бранимир Караџић 2019-07-24 20:17:26 -07:00
parent 5a755496e8
commit 1ce3e6d256
1 changed files with 10 additions and 10 deletions

View File

@ -1214,11 +1214,11 @@ void help(const char* _error = NULL)
{
if (NULL != _error)
{
fprintf(stderr, "Error:\n%s\n\n", _error);
bx::printf("Error:\n%s\n\n", _error);
}
fprintf(stderr
, "texturev, bgfx texture viewer tool, version %d.%d.%d.\n"
bx::printf(
"texturev, bgfx texture viewer tool, version %d.%d.%d.\n"
"Copyright 2011-2019 Branimir Karadzic. All rights reserved.\n"
"License: https://github.com/bkaradzic/bgfx#license-bsd-2-clause\n\n"
, BGFX_TEXTUREV_VERSION_MAJOR
@ -1226,19 +1226,19 @@ void help(const char* _error = NULL)
, BGFX_API_VERSION
);
fprintf(stderr
, "Usage: texturev <file path>\n"
bx::printf(
"Usage: texturev <file path>\n"
"\n"
"Supported input file types:\n"
);
for (uint32_t ii = 0; ii < BX_COUNTOF(s_supportedExt); ++ii)
{
fprintf(stderr, " *.%s\n", s_supportedExt[ii]);
bx::printf(" *.%s\n", s_supportedExt[ii]);
}
fprintf(stderr
, "\n"
bx::printf(
"\n"
"Options:\n"
" -h, --help Help.\n"
" -v, --version Version information only.\n"
@ -1254,8 +1254,8 @@ int _main_(int _argc, char** _argv)
if (cmdLine.hasArg('v', "version") )
{
fprintf(stderr
, "texturev, bgfx texture viewer tool, version %d.%d.%d.\n"
bx::printf(
"texturev, bgfx texture viewer tool, version %d.%d.%d.\n"
, BGFX_TEXTUREV_VERSION_MAJOR
, BGFX_TEXTUREV_VERSION_MINOR
, BGFX_API_VERSION