added -h to the commandline args to print usage.

Kent
This commit is contained in:
Kent Mein
2004-10-15 12:46:57 +00:00
parent 74aa13e29a
commit 0f5eae2c64

View File

@@ -107,6 +107,7 @@ void usage(char* program)
printf("usage: %s [-w [-p l t w h]] %s[-g gamengineoptions] "
"[-s stereomode] filename.blend\n", program, consoleoption);
printf(" -h: Prints this command summary\n");
printf(" -w: display in a window\n");
printf(" -p: specify window position\n");
printf(" l = window left coordinate\n");
@@ -366,6 +367,10 @@ int main(int argc, char** argv)
i++;
}
break;
case 'h':
usage(argv[0]);
return 0;
break;
case 'c':
i++;
closeConsole = false;