Skip to content
Snippets Groups Projects
Commit 11923ac3 authored by Jason Hiser's avatar Jason Hiser :tractor:
Browse files

cleared optind so extra calls to getopts_long don't fail

Former-commit-id: b13ce7684b4c133718844e2c36e693dd1e911583
parent dc4e4089
No related branches found
No related tags found
No related merge requests found
......@@ -313,6 +313,8 @@ int ThanosPlugin_t::executeStep(TransformStep_t& the_step, const bool are_debugg
flush(*real_cout);
/* reset optind for getops, in case plugin forgets to do it. */
optind=1;
const int parse_retval = the_step.parseArgs(step_args);
if(parse_retval != 0)
{
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment