2 argList::validArgs.clear();
3 argList::validArgs.append("source dir");
5 argList::validOptions.insert("sourceTime", "scalar");
6 argList::validOptions.insert("parallelSource", "");
7 argList::validOptions.insert("parallelTarget", "");
8 argList::validOptions.insert("consistent", "");
10 argList args(argc, argv);
17 fileName rootDirTarget(args.rootPath());
18 fileName caseDirTarget(args.globalCaseName());
20 fileName casePath(args.additionalArgs()[0]);
21 fileName rootDirSource = casePath.path();
22 fileName caseDirSource = casePath.name();
24 Info<< "Source: " << rootDirSource << " " << caseDirSource << nl
25 << "Target: " << rootDirTarget << " " << caseDirTarget << endl;
27 bool parallelSource = args.optionFound("parallelSource");
28 bool parallelTarget = args.optionFound("parallelTarget");
29 bool consistent = args.optionFound("consistent");