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' },
{ "args", required_argument, NULL, 'a' },
{ NULL, 0, NULL, 0 }
}
| const char* USAGE |
Initial value:
"USAGE: stage [options] <worldfile1> [worldfile2 ... worldfileN]\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" " --args \"str\" : define an argument string to be passed to all controllers\n" " -a \"str\" : short for --args\n" " -h : short for --help\n" " -? : short for --help"
Generated on Tue Oct 20 15:42:05 2009 for Stage by
1.6.1
