diff options
| author | Shawn Rutledge <shawn.rutledge@qt.io> | 2023-05-16 07:59:46 +0200 |
|---|---|---|
| committer | Shawn Rutledge <shawn.rutledge@qt.io> | 2023-05-16 11:48:14 +0200 |
| commit | e5007fcc43af6751c72ec970eed11df5fdb8638e (patch) | |
| tree | 8ba622dbc887b2e9f6a3382f9f1c41341f6fcc3b /src/qml/jsruntime/qv4function.cpp | |
| parent | 30560d0c3331582a85d594c3a24a1731a5e53859 (diff) | |
qml tool: Use QCommandLineParser::process() rather than parse()
This handles the --version, --help and --help-all options.
Apparently there's no other way to handle --help-all, because
addHelpOption() adds two options but only returns one of them.
Amends bb6602bca2b20d98f24320b10c7a039e605c9a05
Fixes: QTBUG-100678
Pick-to: 6.2 6.5 5.15
Change-Id: Iddd1ba2dae975d7256935d8d357e2f3ac6c013d6
Reviewed-by: Ulf Hermann <ulf.hermann@qt.io>
Diffstat (limited to 'src/qml/jsruntime/qv4function.cpp')
0 files changed, 0 insertions, 0 deletions
