Adding a newline to the end of the file to prevent git reporting a
warning.
first try of using QCommandLineParser

still a lot of things todo.