From 6f929b707aa25a18f412c722c5117dfe737c9e93 Mon Sep 17 00:00:00 2001 From: Tim Jenssen Date: Fri, 13 Apr 2012 14:24:13 +0200 Subject: add missing config.xml to one example - and added seperator instead of hardcoded "/" Change-Id: I26fa9b0dac5d0e0d131b628ef78ff8eca3a5fb2a Reviewed-by: Karsten Heimrich --- tools/binarycreator/binarycreator.cpp | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) (limited to 'tools/binarycreator/binarycreator.cpp') diff --git a/tools/binarycreator/binarycreator.cpp b/tools/binarycreator/binarycreator.cpp index a3ac6c280..a407fad58 100644 --- a/tools/binarycreator/binarycreator.cpp +++ b/tools/binarycreator/binarycreator.cpp @@ -410,13 +410,14 @@ static void printUsage() std::cout << "Packages are to be found in the current working directory and get listed as " "their names" << std::endl << std::endl; std::cout << "Example (offline installer):" << std::endl; - std::cout << " " << appName << " --offline-only -c installer-config -p packages-directory -t " - "installerbase SDKInstaller.exe" << std::endl; + char sep = QDir::separator().toAscii(); + std::cout << " " << appName << " --offline-only -c installer-config" << sep << "config.xml -p " + "packages-directory -t installerbase SDKInstaller.exe" << std::endl; std::cout << "Creates an offline installer for the SDK, containing all dependencies." << std::endl; std::cout << std::endl; std::cout << "Example (online installer):" << std::endl; - std::cout << " " << appName << " -c installer-config/config.xml -p packages-directory -e com.nokia.sdk.qt," - "com.nokia.qtcreator -t installerbase SDKInstaller.exe" << std::endl; + std::cout << " " << appName << " -c installer-config" << sep << "config.xml -p packages-directory " + "-e com.nokia.sdk.qt,com.nokia.qtcreator -t installerbase SDKInstaller.exe" << std::endl; std::cout << std::endl; std::cout << "Creates an installer for the SDK without qt and qt creator." << std::endl; std::cout << std::endl; -- cgit v1.2.3