- list<string> resource_locations;
- string animation_name;
- string renderable_name;
- GetOpt getopt;
- getopt.add_option('r', "resources", resource_locations, GetOpt::REQUIRED_ARG);
- getopt.add_option('a', "animation", animation_name, GetOpt::REQUIRED_ARG);
- getopt.add_argument("renderable", renderable_name);
- getopt(argc, argv);
-
- for(list<string>::const_iterator i=resource_locations.begin(); i!=resource_locations.end(); ++i)