mirror of
https://develop.openfoam.com/Development/openfoam.git
synced 2025-11-28 03:28:01 +00:00
ENH: add '-help-notes' as an advanced option
- emits the notes description only
This commit is contained in:
@ -878,6 +878,12 @@ void Foam::argList::parse
|
||||
printUsage(true);
|
||||
quickExit = true;
|
||||
}
|
||||
else if (options_.found("help-notes"))
|
||||
{
|
||||
printNotes();
|
||||
Info<< nl;
|
||||
quickExit = true;
|
||||
}
|
||||
else if (options_.found("help"))
|
||||
{
|
||||
printUsage(false);
|
||||
|
||||
@ -314,6 +314,7 @@ void Foam::argList::printMan() const
|
||||
}
|
||||
|
||||
printManOption("help-man", "Display full help (manpage format) and exit");
|
||||
printManOption("help-notes", "Display help notes (description) and exit");
|
||||
|
||||
printManCompat();
|
||||
|
||||
@ -407,6 +408,7 @@ void Foam::argList::printUsage(bool full) const
|
||||
if (full)
|
||||
{
|
||||
printOption("help-man", "Display full help (manpage format) and exit");
|
||||
printOption("help-notes", "Display help notes (description) and exit");
|
||||
}
|
||||
|
||||
printOption("help-full", "Display full help and exit");
|
||||
|
||||
Reference in New Issue
Block a user