ViewVC Help
View File | Revision Log | Show Annotations | Download File
/cvs/deliantra/server/server/init.C
(Generate patch)

Comparing deliantra/server/server/init.C (file contents):
Revision 1.81 by root, Wed Apr 28 19:49:51 2010 UTC vs.
Revision 1.82 by root, Mon Jan 31 16:33:45 2011 UTC

331 init_environ (); 331 init_environ ();
332 cfperl_init (); 332 cfperl_init ();
333 init_done = 1; 333 init_done = 1;
334} 334}
335 335
336void
337usage ()
338{
339 fprintf (stderr, "Usage: deliantra-server [-h] [-<flags>]...\n");
340}
341
342void
343help ()
344{
345
346/* The information in usage is redundant with what is given below, so why call it? */
347
348/* usage();*/
349 printf ("Flags:\n");
350 printf (" -csport <port> Specifies the port to use for the new client/server code.\n");
351 printf (" -d Turns on some debugging.\n");
352 printf (" +d Turns off debugging (useful if server compiled with debugging\n");
353 printf (" as default).\n");
354 printf (" -detach The server will go in the background, closing all\n");
355 printf (" connections to the tty.\n");
356 printf (" -h Display this information.\n");
357 printf (" -log <file> Specifies which file to send output to.\n");
358 printf (" Only has meaning if -detach is specified.\n");
359 printf (" -mon Turns on monster debugging.\n");
360 printf (" -o Prints out info on what was defined at compile time.\n");
361 printf (" -s Display the high-score list.\n");
362 printf (" -score <name or class> Displays all high scores with matching name/class.\n");
363 printf (" -v Print version and contributors.\n");
364 printf (" -data Sets the lib dir (archetypes, treasures, etc.)\n");
365 printf (" -local Read/write local data (hiscore, unique items, etc.)\n");
366 printf (" -maps Sets the directory for maps.\n");
367 printf (" -arch Sets the archetype file to use.\n");
368 printf (" -regions Sets the regions file to use.\n");
369 printf (" -playerdir Sets the directory for the player files.\n");
370 printf (" -templatedir Sets the directory for template generate maps.\n");
371 printf (" -treasures Sets the treasures file to use.\n");
372 printf (" -uniquedir Sets the unique items/maps directory.\n");
373 printf (" -tmpdir Sets the directory for temporary files (mostly maps.)\n");
374 printf (" -m Lists out suggested experience for all monsters.\n");
375 printf (" -m2 Dumps out abilities.\n");
376 printf (" -m3 Dumps out artifact information.\n");
377 printf (" -m4 Dumps out spell information.\n");
378 printf (" -m5 Dumps out skill information.\n");
379 printf (" -m6 Dumps out race information.\n");
380 printf (" -m7 Dumps out alchemy information.\n");
381 printf (" -m8 Dumps out gods information.\n");
382 printf (" -m9 Dumps out more alchemy information (formula checking).\n");
383 printf (" -mt <name> Dumps out list of treasures for a monster.\n");
384 exit (0);
385}
386
387/* Signal handlers: */ 336/* Signal handlers: */
388 337
389static void 338static void
390rec_sigabrt (int i) 339rec_sigabrt (int i)
391{ 340{

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines