argList: Improved documentation for the -libs option
This commit is contained in:
@ -89,7 +89,7 @@ Foam::argList::initValidTables::initValidTables()
|
|||||||
argList::addOption
|
argList::addOption
|
||||||
(
|
(
|
||||||
"libs",
|
"libs",
|
||||||
"(lib1 .. libN)",
|
"'(\"lib1.so\" ... \"libN.so\")'",
|
||||||
"pre-load libraries"
|
"pre-load libraries"
|
||||||
);
|
);
|
||||||
|
|
||||||
@ -1251,8 +1251,16 @@ void Foam::argList::printUsage() const
|
|||||||
if (iter().size())
|
if (iter().size())
|
||||||
{
|
{
|
||||||
// Length includes space and between option/param and '<>'
|
// Length includes space and between option/param and '<>'
|
||||||
len += iter().size() + 3;
|
if (iter()[0] == '\'')
|
||||||
Info<< " <" << iter().c_str() << '>';
|
{
|
||||||
|
len += iter().size() + 1;
|
||||||
|
Info<< ' ' << iter().c_str();
|
||||||
|
}
|
||||||
|
else
|
||||||
|
{
|
||||||
|
len += iter().size() + 3;
|
||||||
|
Info<< " <" << iter().c_str() << '>';
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
HashTable<string>::const_iterator usageIter =
|
HashTable<string>::const_iterator usageIter =
|
||||||
|
|||||||
Reference in New Issue
Block a user