Skip to content
Snippets Groups Projects
Commit fce95457 authored by Mark OLESEN's avatar Mark OLESEN
Browse files

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

parent 01292a9a
Branches
Tags
No related merge requests found
......@@ -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"
}
......
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