main.cc File Reference

#include <getopt.h>
#include "stage.hh"
#include "config.h"

Include dependency graph for main.cc:


Functions

int main (int argc, char *argv[])

Variables

static struct option longopts []
const char * USAGE

Function Documentation

int main ( int  argc,
char *  argv[] 
)


Variable Documentation

struct option longopts[] [static]

Initial value:

 {
    { "gui",  optional_argument,   NULL,  'g' },
    { "clock",  optional_argument,   NULL,  'c' },
    { "help",  optional_argument,   NULL,  'h' },
    
    { NULL, 0, NULL, 0 }
}

const char* USAGE

Initial value:

 
  "USAGE:  stage [options] [<worldfile>]\n"
  "Available [options] are:\n"
  "  --clock        : print simulation time peridically on standard output\n"
  "  -c             : short for --clock\n"
  "  --gui          : run without a GUI\n"
  "  -g             : short for --gui\n"
  "  --help         : print this message\n"
  "  -h             : short for --help\n"
  "  -?             : short for --help\n"
  " If <worldfile> is not specified, Stage starts with a file selector dialog"


Generated on Wed Jul 22 11:51:03 2009 for Stage by  doxygen 1.5.9