Change QCoreApplication::exit(0) to just exit(0) for the doVersion and doHelp methods. I didn't think about it, but the CommandLineInterface will process the doVersion and doHelp methods _before_ the event loop is spun up. QCoreApplication::exit(int) only terminates the event loop and since we typically spin up the event loop like 'return app.exec();' that would terminate the application. However these methods are executed before the event loop is spun up so if we really want the application to terminate after they are processed we need to call the standard exit(int) method instead which does explicitly terminate the applicaiton.
Change QCoreApplication::exit(0) to just exit(0) for the doVersion and doHelp methods.
I didn't think about it, but the CommandLineInterface will process the doVersion and doHelp methods
_before_ the event loop is spun up. QCoreApplication::exit(int) only terminates the event loop and
since we typically spin up the event loop like 'return app.exec();' that would terminate the application.
However these methods are executed before the event loop is spun up so if we really want the application
to terminate after they are processed we need to call the standard exit(int) method instead which does
explicitly terminate the applicaiton.

bvanderlaan/Taranis,bvanderlaan/Taranis