mirror of
https://develop.openfoam.com/Development/openfoam.git
synced 2025-11-28 03:28:01 +00:00
STYLE: fix stray use of argList option() instead of []
This commit is contained in:
@ -1599,7 +1599,7 @@ int main(int argc, char *argv[])
|
|||||||
}
|
}
|
||||||
else if (useCellZonesFile)
|
else if (useCellZonesFile)
|
||||||
{
|
{
|
||||||
const word zoneFile = args.option("cellZonesFileOnly");
|
const word zoneFile(args["cellZonesFileOnly"]);
|
||||||
Info<< "Reading split from cellZones file " << zoneFile << endl
|
Info<< "Reading split from cellZones file " << zoneFile << endl
|
||||||
<< "This requires all"
|
<< "This requires all"
|
||||||
<< " cells to be in one and only one cellZone." << nl << endl;
|
<< " cells to be in one and only one cellZone." << nl << endl;
|
||||||
|
|||||||
@ -181,7 +181,7 @@ int main(int argc, char *argv[])
|
|||||||
|
|
||||||
if (args.optionFound("featureFile"))
|
if (args.optionFound("featureFile"))
|
||||||
{
|
{
|
||||||
const fileName featureFileName(args.option("featureFile"));
|
const fileName featureFileName(args["featureFile"]);
|
||||||
Info<< "Reading features from " << featureFileName << " ..." << endl;
|
Info<< "Reading features from " << featureFileName << " ..." << endl;
|
||||||
|
|
||||||
edgeMesh feMesh(featureFileName);
|
edgeMesh feMesh(featureFileName);
|
||||||
|
|||||||
@ -341,7 +341,6 @@ public:
|
|||||||
inline const string& operator[](const label index) const;
|
inline const string& operator[](const label index) const;
|
||||||
|
|
||||||
//- Return the argument string associated with the named option
|
//- Return the argument string associated with the named option
|
||||||
// \sa option()
|
|
||||||
inline const string& operator[](const word& opt) const;
|
inline const string& operator[](const word& opt) const;
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user