mirror of
https://develop.openfoam.com/Development/openfoam.git
synced 2025-11-28 03:28:01 +00:00
BUG: incorrect range check in foamHelp (closes #547)
This commit is contained in:
@ -45,7 +45,7 @@ int main(int argc, char *argv[])
|
||||
#include "addToolOption.H"
|
||||
|
||||
// Intercept request for help
|
||||
if ((argc > 0) && (strcmp(argv[1], "-help") == 0))
|
||||
if ((argc > 1) && (strcmp(argv[1], "-help") == 0))
|
||||
{
|
||||
#include "setRootCase.H"
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user