- addComOption("lsize", required_argument, NULL, 'L', "define lattice size", "xsize:tsize");
- addComOption("nmeas", required_argument, NULL, 'N', "set number of measurements", "nmeas");
- addComOption("skip", required_argument, NULL, 'S', "set number of skips between configs", "nskip");
- addComOption("nequi", required_argument, NULL, 'E', "set number of equilibrations", "nequi");
- addComOption("oro", required_argument, NULL, 'o', "read-only observable-store directory", "dir");
- addComOption("orw", required_argument, NULL, 'O', "read-write observable-store directory", "dir");
- addComOption("cro", required_argument, NULL, 'c', "read-only config-store directory", "dir");
- addComOption("crw", required_argument, NULL, 'C', "read-write config-store directory", "dir");
- addComOption("write", required_argument, NULL, 'w', "data writeout directory", "dir");
- addComOption("idonly", no_argument, &comargs.idonly, 'i', "show output-id only", "");
- addComOption("jobnum", no_argument, &comargs.showjobnum, 'j', "show jobnumber only", "");
+ addComOption("lsize", required_argument, NULL, 'L', "define lattice size", "xsize:tsize");
+ addComOption("nmeas", required_argument, NULL, 'N', "set number of measurements", "nmeas");
+ addComOption("skip", required_argument, NULL, 'S', "set number of skips between configs", "nskip");
+ addComOption("nequi", required_argument, NULL, 'E', "set number of equilibrations", "nequi");
+ addComOption("ocache", required_argument, NULL, 'O', "set observable cache (mode=oo|ro|wo|rw)", "dir:mode");
+ addComOption("ccache", required_argument, NULL, 'C', "set config cache (mode=oo|ro|wo|rw)", "dir:mode");
+ addComOption("write", required_argument, NULL, 'W', "data writeout directory", "dir");
+ addComOption("idonly", no_argument, &comargs.idonly, 'I', "show output-id only", "");
+ addComOption("jobnum", no_argument, &comargs.showjobnum, 'J', "show jobnumber only", "");
+
+ vector<comoption>::iterator lastO815Opt = comOptions.end()-1;