summaryrefslogtreecommitdiffstats
path: root/src/designer/src/designer/qdesigner.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/designer/src/designer/qdesigner.cpp')
-rw-r--r--src/designer/src/designer/qdesigner.cpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/designer/src/designer/qdesigner.cpp b/src/designer/src/designer/qdesigner.cpp
index ed88039fb..3fa9472f2 100644
--- a/src/designer/src/designer/qdesigner.cpp
+++ b/src/designer/src/designer/qdesigner.cpp
@@ -200,6 +200,10 @@ static inline QDesigner::ParseArgumentsResult
if (parser.isSet(helpOption))
return QDesigner::ParseArgumentsHelpRequested;
+ // There is no way to retrieve the complete help text from QCommandLineParser,
+ // so, call process() to display it.
+ if (parser.isSet(u"help-all"_qs))
+ parser.process(QCoreApplication::arguments()); // exits
options->server = parser.isSet(serverOption);
if (parser.isSet(clientOption)) {
bool ok;