Commit 2a3c0180 authored by Uwe Schulzweida's avatar Uwe Schulzweida
Browse files

Check number of arguments.

parent 9b0de809
......@@ -76,6 +76,7 @@ void *Runstat(void *argument)
// clang-format on
operatorInputArg("number of timesteps");
operatorCheckArgc(1);
int ndates = parameter2int(operatorArgv()[0]);
int streamID1 = pstreamOpenRead(cdoStreamName(0));
......
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