foamList: Updated handling of switches and removed the '-redundant' option which does not work

This commit is contained in:
Henry Weller
2016-06-11 15:24:01 +01:00
parent fa2f311c32
commit 017242afe4
3 changed files with 77 additions and 81 deletions

View File

@ -710,6 +710,12 @@ Foam::wordList Foam::dictionary::toc() const
}
Foam::wordList Foam::dictionary::sortedToc() const
{
return hashedEntries_.sortedToc();
}
Foam::List<Foam::keyType> Foam::dictionary::keys(bool patterns) const
{
List<keyType> keys(size());

View File

@ -396,6 +396,9 @@ public:
//- Return the table of contents
wordList toc() const;
//- Return the sorted table of contents
wordList sortedToc() const;
//- Return the list of available keys or patterns
List<keyType> keys(bool patterns=false) const;