Commit f9647819 authored by Mark Olesen's avatar Mark Olesen
Browse files

ENH: add '-help-notes' as an advanced option

- emits the notes description only
parent fe87e880
......@@ -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");
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment