From 0f5eae2c6472db561d2add8eb4e7b9202d0667db Mon Sep 17 00:00:00 2001 From: Kent Mein Date: Fri, 15 Oct 2004 12:46:57 +0000 Subject: added -h to the commandline args to print usage. Kent --- source/gameengine/GamePlayer/ghost/GPG_ghost.cpp | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'source/gameengine') diff --git a/source/gameengine/GamePlayer/ghost/GPG_ghost.cpp b/source/gameengine/GamePlayer/ghost/GPG_ghost.cpp index aac72a8bd4f..5f702041c41 100644 --- a/source/gameengine/GamePlayer/ghost/GPG_ghost.cpp +++ b/source/gameengine/GamePlayer/ghost/GPG_ghost.cpp @@ -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; -- cgit v1.2.3