diff options
author | Christian Kandeler <christian.kandeler@qt.io> | 2017-10-05 10:39:41 +0200 |
---|---|---|
committer | Christian Kandeler <christian.kandeler@qt.io> | 2017-10-05 12:40:10 +0000 |
commit | 6055e0174fe69e27630c1deed723752262de6456 (patch) | |
tree | e2e1698f7890b2b63e03fa6879e85d76fce65c4f /src/app | |
parent | f305f835cf3b0aa8bfb44b52718511a279c854f9 (diff) |
Improve dump-nodes-tree command
- Remove redundant output also for rule nodes (rather than just for
artifacts).
- Strip down the list of supported options. Some of the ones we listed
there made no sense for this command.
- Fix help output and CLI documentation.
Change-Id: If13667d48e12de99df3bb19a4f82f97aa9256d02
Reviewed-by: Leena Miettinen <riitta-leena.miettinen@qt.io>
Reviewed-by: Jake Petroules <jake.petroules@qt.io>
Diffstat (limited to 'src/app')
-rw-r--r-- | src/app/qbs/parser/parsercommand.cpp | 7 |
1 files changed, 1 insertions, 6 deletions
diff --git a/src/app/qbs/parser/parsercommand.cpp b/src/app/qbs/parser/parsercommand.cpp index 791a494b6..3b6d32635 100644 --- a/src/app/qbs/parser/parsercommand.cpp +++ b/src/app/qbs/parser/parsercommand.cpp @@ -502,8 +502,7 @@ QString DumpNodesTreeCommand::shortDescription() const QString DumpNodesTreeCommand::longDescription() const { - QString description = Tr::tr( - "qbs %1 [options] [[configuration-name] [property:value] ...] ...\n") + QString description = Tr::tr("qbs %1 [options] [configuration-name] ...\n") .arg(representation()); description += Tr::tr("Internal command; for debugging purposes only.\n"); return description += supportedOptionsDescription(); @@ -517,10 +516,6 @@ QString DumpNodesTreeCommand::representation() const QList<CommandLineOption::Type> DumpNodesTreeCommand::supportedOptions() const { return QList<CommandLineOption::Type>() - << CommandLineOption::LogLevelOptionType - << CommandLineOption::VerboseOptionType - << CommandLineOption::QuietOptionType - << CommandLineOption::FileOptionType << CommandLineOption::BuildDirectoryOptionType << CommandLineOption::ProductsOptionType; } |