Important: Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct
How to change usage part of console app?
Kien Bui last edited by Kien Bui
I am writing a console app,
I used QCommandLineParse and then add QCommandLineOption, add addPositionalArgument.
And when it shows help the usage part always show that:
Usage:./app [options] command
I want to relocate options to after command.
Usage:./app command [options]
What happens if you call addPositionalArgument first and after that QCommandLineOption?
Kien Bui last edited by
@aha_1980 Nope. :)))