Commit 281f04aa authored by Uwe Schulzweida's avatar Uwe Schulzweida
Browse files

apply::scan: print parameter on error.

parent cba2dc44
......@@ -133,9 +133,9 @@ scan(std::vector<std::string> p_argv)
}
else if (parameter[0] != '-')
{
fprintf(stderr, "missing pipe symbol in apply argument.\n");
errState = ApplyStatus::MISSING_PIPE_SYM;
break;
fprintf(stderr, "cdo apply: missing pipe symbol in apply argument: %s\n", parameter.c_str());
errState = ApplyStatus::MISSING_PIPE_SYM;
break;
}
auto tokens = generateTokens(parameter);
if (errState != ApplyStatus::OK) break;
......
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