diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/uscxml/Interpreter.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/uscxml/Interpreter.cpp b/src/uscxml/Interpreter.cpp index 02e80f0..d5a075f 100644 --- a/src/uscxml/Interpreter.cpp +++ b/src/uscxml/Interpreter.cpp @@ -87,6 +87,7 @@ unsigned int InterpreterOptions::getCapabilities() { InterpreterOptions InterpreterOptions::fromCmdLine(int argc, char** argv) { InterpreterOptions options; + optind = 0; struct option longOptions[] = { {"verbose", no_argument, 0, 'v'}, {"dot", no_argument, 0, 'd'}, |