Go to the documentation of this file.
36 int main(
int argc,
char *argv[])
56 const string& srcFile =
args[argI];
75 <<
" files (moved " << ok <<
")\n" <<
endl;
static SLList< string > validArgs
A list of valid (mandatory) arguments.
static void noBanner()
Disable emitting the banner information.
Functions used by OpenFOAM that are specific to POSIX compliant operating systems and need to be repl...
static void addOption(const word &opt, const string ¶m="", const string &usage="")
Add to an option to validOptions with usage information.
label size() const
Return the number of arguments.
Extract command arguments and options from the supplied argc and argv parameters.
Ostream & endl(Ostream &os)
Add newline and flush stream.
intWM_LABEL_SIZE_t label
A label is an int32_t or int64_t as specified by the pre-processor macro WM_LABEL_SIZE.
bool mvBak(const fileName &, const std::string &ext="bak")
Rename to a corresponding backup file.
void printUsage() const
Print usage.
static void removeOption(const word &opt)
Remove option from validOptions and from optionUsage.
bool optionFound(const word &opt) const
Return true if the named option is found.
static void noParallel()
Remove the parallel options.
Foam::argList args(argc, argv)
int main(int argc, char *argv[])