Commit 8cc84454 authored by Mark OLESEN's avatar Mark OLESEN
Browse files

BUG: incorrect range check in foamHelp (closes #547)

parent 25a88546
......@@ -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"
}
......
Supports Markdown
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