Commit 9d341465 authored by Oliver Heidmann's avatar Oliver Heidmann
Browse files

fixed error when printing operator info

parent 6b5e16e5
......@@ -1075,7 +1075,6 @@ parseOptionsLong(int argc, char *argv[])
// IMPORTANT: BY EVERY OPTION that takes arguments you MUST set its trigger variable to ZERO;
// otherwise the parameters of other options get wrongly assigned.
attribRequest = 0;
lprintOperators = 0;
lasync_worker = 0;
lcellsearchmethod = 0;
lcolor = 0;
......@@ -1118,13 +1117,11 @@ parseOptionsLong(int argc, char *argv[])
{
std::string request = "noOutput";
if(!modListOpt.parseRequest(request)){exit(EXIT_FAILURE);}
return 1;
}
else if (attribRequest || lprintOperators)
{
std::string request = CDO_optarg ? CDO_optarg : "";
if(!modListOpt.parseRequest(request)){exit(EXIT_FAILURE);}
return 1;
}
else if (lnetcdf_hdr_pad)
{
......
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