STYLE: mention -doc-source option under -help-full instead of under -help

This commit is contained in:
Mark Olesen
2019-02-24 11:40:09 +01:00
parent b3e061525b
commit 9d5edd161c

View File

@ -284,7 +284,6 @@ void Foam::argList::printMan() const
// Standard documentation/help options
printManOption("doc", "Display documentation in browser");
printManOption("doc-source", "Display source code in browser");
printManOption("help", "Display short help and exit");
printManOption("help-full", "Display full help and exit");
@ -301,6 +300,8 @@ void Foam::argList::printMan() const
}
}
printManOption("doc-source", "Display source code in browser");
const bool hasCompat =
(
@ -393,7 +394,10 @@ void Foam::argList::printUsage(bool full) const
// Place documentation/help options at the end
printOption("doc", "Display documentation in browser");
printOption("doc-source", "Display source code in browser");
if (full)
{
printOption("doc-source", "Display source code in browser");
}
printOption("help", "Display short help and exit");
if