Functions | Variables
main.cc File Reference
#include <getopt.h>
#include "stage.hh"
#include "config.h"
Include dependency graph for main.cc:

Go to the source code of this file.

Functions

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

Variables

static struct option longopts []
 
const char * USAGE
 

Function Documentation

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

Definition at line 55 of file main.cc.

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 }
}

Definition at line 47 of file main.cc.

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 : equivalent to --clock\n"
" --gui : run without a GUI\n"
" -g : equivalent to --gui\n"
" --help : print this message\n"
" --args \"str\" : define an argument string to be passed to all controllers\n"
" -a \"str\" : equivalent to --args \"str\"\n"
" -h : equivalent to --help\n"
" -? : equivalent to --help"

Definition at line 33 of file main.cc.



stage
Author(s): Richard Vaughan , Brian Gerkey , Reed Hedges , Andrew Howard , Toby Collett , Pooya Karimian , Jeremy Asher , Alex Couture-Beil , Geoff Biggs , Rich Mattes , Abbas Sadat
autogenerated on Mon Jun 10 2019 15:06:11