IVGCVSW-5445 Fix for Android-NN-Driver cmd line parameters

 * If the Android-NN-Driver encounters unexpected or unknown parameters
   it will exit after displaying the application help text.

Signed-off-by: Mike Kelly <mike.kelly@arm.com>
Change-Id: I47c66ccc4768b6cd5ffc4cc79de0e9b61bcc18c2
diff --git a/DriverOptions.cpp b/DriverOptions.cpp
index 414fc93..6f777e3 100644
--- a/DriverOptions.cpp
+++ b/DriverOptions.cpp
@@ -146,6 +146,9 @@
         std::cout << optionsDesc.help() << std::endl
                   << "An exception occurred while parsing program options: " << std::endl
                   << e.what() << std::endl;
+        m_ShouldExit = true;
+        m_ExitCode = EXIT_FAILURE;
+        return;
     }
     if (showHelp)
     {