Standalone: Changing some comments and user strings

This commit is contained in:
Dan Baker 2016-08-11 14:55:49 -04:00
parent c6ede8938a
commit 895275e357

View File

@ -244,7 +244,7 @@ void ProcessArguments(int argc, char* argv[])
argv++; argv++;
} }
else else
Error("no <target> specified for -T"); Error("no <stage> specified for -T");
break; break;
case 'G': case 'G':
Options |= EOptionSpv; Options |= EOptionSpv;
@ -270,7 +270,6 @@ void ProcessArguments(int argc, char* argv[])
case 'e': case 'e':
// HLSL todo: entry point handle needs much more sophistication. // HLSL todo: entry point handle needs much more sophistication.
// This is okay for one compilation unit with one entry point. // This is okay for one compilation unit with one entry point.
// dankbaker - not sure it needs to be, fxc has no more sophistication then this
entryPointName = argv[1]; entryPointName = argv[1];
if (argc > 0) { if (argc > 0) {
argc--; argc--;
@ -793,7 +792,7 @@ void usage()
" -E print pre-processed GLSL; cannot be used with -l;\n" " -E print pre-processed GLSL; cannot be used with -l;\n"
" errors will appear on stderr.\n" " errors will appear on stderr.\n"
" -S <stage> uses explicit stage specified, rather then the file extension.\n" " -S <stage> uses explicit stage specified, rather then the file extension.\n"
" valid choices are vert,tesc, tese,geom, rag,comp\n" " valid choices are vert, tesc, tese, geom, frag, or comp\n"
" -c configuration dump;\n" " -c configuration dump;\n"
" creates the default configuration file (redirect to a .conf file)\n" " creates the default configuration file (redirect to a .conf file)\n"
" -C cascading errors; risks crashes from accumulation of error recoveries\n" " -C cascading errors; risks crashes from accumulation of error recoveries\n"