Commit 898cb748 authored by Oliver Heidmann's avatar Oliver Heidmann
Browse files

fixed cdo not exiting when --attrib was used

parent 2b00fe07
......@@ -1116,11 +1116,13 @@ 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