diff options
author | kh <karsten.heimrich@theqtcompany.com> | 2015-02-05 16:15:52 +0100 |
---|---|---|
committer | Karsten Heimrich <karsten.heimrich@theqtcompany.com> | 2015-02-05 16:19:29 +0000 |
commit | e8806338184554b39a04d63de4ea7702cc3eef4d (patch) | |
tree | 78b01403e0ec4203d5b26df96f9c4858e0e76a74 /tools | |
parent | 96329f5c30218c05e240809e04e59bf0a365ff4f (diff) |
Dump binary content for both installer and maintenance tool.
Change-Id: I749912ebba5e1765f0d60e089a0366f59e09279b
Reviewed-by: Kai Koehne <kai.koehne@theqtcompany.com>
Diffstat (limited to 'tools')
-rw-r--r-- | tools/devtool/main.cpp | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/tools/devtool/main.cpp b/tools/devtool/main.cpp index aa057c3e4..91dae8649 100644 --- a/tools/devtool/main.cpp +++ b/tools/devtool/main.cpp @@ -60,8 +60,8 @@ int main(int argc, char *argv[]) QCommandLineOption verbose(QLatin1String("verbose"), QLatin1String("Verbose mode. Prints out more information.")); QCommandLineOption dump(QLatin1String("dump"), - QLatin1String("Dumps the binary content attached to an installer into target."), - QLatin1String("folder")); + QLatin1String("Dumps the binary content that belongs to an installer or maintenance tool " + "into target."), QLatin1String("folder")); QCommandLineOption run(QLatin1String("operation"), QLatin1String("Executes an operation with a list of arguments. Mode can be DO or UNDO."), QLatin1String("mode,name,args,...")); @@ -154,8 +154,6 @@ int main(int argc, char *argv[]) if (parser.isSet(dump)) { // To dump the content we do not need the binary format engine. - if (magicMarker != QInstaller::BinaryContent::MagicInstallerMarker) - throw QInstaller::Error(QLatin1String("Source file is not an installer.")); BinaryDump bd; result = bd.dump(manager, parser.value(dump)); } else if (parser.isSet(run)) { |