>> https://bugreports.qt.io/browse/QBS-511 (QBS help text is not properly >> format in windows cmd shell) I guess, QBS doesn't use QCommandLineParser at >> the moment? > > No, and I don't think it can, because of the "command plus additional > arguments" syntax that qbs uses.
This would be a very useful add-on in QCommandLineParser. Is the following work-around too hackish? 1. Parse the second argument in argv (or QCoreApplication::arguments()) manually in order to deduce the command before initializing an appropriate QCommandLineParser object. 2. Then remove the second argument and pass the resulting list (without the command) to QCommandLineParser. 1. qbs build --options 2. qbs --option ... _______________________________________________ Qbs mailing list Qbs@qt-project.org http://lists.qt-project.org/mailman/listinfo/qbs