From 1bc7efe3db9a08326b8216d02604e9afb7bd9af2 Mon Sep 17 00:00:00 2001 From: Bradley Bell Date: Sat, 27 Oct 2001 01:39:23 +0000 Subject: [PATCH] added some documentation --- main/inferno.c | 18 +++++++++++++----- 1 file changed, 13 insertions(+), 5 deletions(-) diff --git a/main/inferno.c b/main/inferno.c index 44d8122b..a7e2dd48 100644 --- a/main/inferno.c +++ b/main/inferno.c @@ -13,13 +13,16 @@ COPYRIGHT 1993-1999 PARALLAX SOFTWARE CORPORATION. ALL RIGHTS RESERVED. /* * $Source: /cvs/cvsroot/d2x/main/inferno.c,v $ - * $Revision: 1.11 $ + * $Revision: 1.12 $ * $Author: bradleyb $ - * $Date: 2001-10-25 09:12:16 $ + * $Date: 2001-10-27 01:39:23 $ * * FIXME: put description here * * $Log: not supported by cvs2svn $ + * Revision 1.11 2001/10/25 09:12:16 bradleyb + * Completed tmap selection code. + * * Revision 1.10 2001/10/25 02:19:31 bradleyb * conditionalize including multi.h and network.h, fix backslashes, fix compiler errors with EDITOR * @@ -218,8 +221,10 @@ void print_commandline_help() printf( " -shortpackets %s\n", "Set shortpackets to default as on"); printf( " -notitles %s\n", "Do not show titlescreens on startup"); printf( " -ini %s\n", "option file (alternate to command line)"); - printf( " -autodemo %s\n","FIXME: Undocumented"); - printf( " -autoload %s\n","FIXME: Undocumented"); + printf( " -autodemo %s\n", "Start in demo mode"); +#ifdef EDITOR + printf( " -autoload %s\n", "Autoload a level in the editor"); +#endif printf( " -bigpig %s\n","FIXME: Undocumented"); printf( " -bspgen %s\n","FIXME: Undocumented"); printf( " -cdproxy %s\n","FIXME: Undocumented"); @@ -319,7 +324,7 @@ void print_commandline_help() printf( " -serialdevice %s\n", "Set serial/modem device to "); printf( " -serialread %s\n", "Set serial/modem to read from "); #endif - printf( "Help:\n"); + printf( "\n Help:\n\n"); printf( " -help, -?, ? %s\n", "View this help screen"); printf( "\n"); } @@ -499,6 +504,9 @@ int main(int argc,char **argv) if (FindArg( "-?" ) || FindArg( "-help" ) || FindArg( "?" ) ) { print_commandline_help(); set_exit_message(""); +#ifdef __MINGW32__ + exit(0); /* mingw hangs on this return. dunno why */ +#endif return(0); } -- 2.39.2