summaryrefslogtreecommitdiffstats
path: root/tools
diff options
context:
space:
mode:
authorNiels Weber <niels.2.weber@nokia.com>2012-03-20 15:04:14 +0100
committerNiels Weber <niels.2.weber@nokia.com>2012-03-20 16:55:33 +0100
commitdf5ccaa64a1afef5a07ce66a627570117eac1649 (patch)
tree50d7c962f5d22dd938a8aa3e1a1e57fcd4f2e412 /tools
parent492982437cfe547f17a37dfe5ab1e8964b14652b (diff)
Improve usage output format
Change-Id: Ide21fa802060593c657491861f043ac53c0bb701 Reviewed-by: Tim Jenssen <tim.jenssen@nokia.com>
Diffstat (limited to 'tools')
-rw-r--r--tools/common/repositorygen.cpp5
-rw-r--r--tools/repogen/repogen.cpp5
2 files changed, 5 insertions, 5 deletions
diff --git a/tools/common/repositorygen.cpp b/tools/common/repositorygen.cpp
index 84ed0e658..90804326f 100644
--- a/tools/common/repositorygen.cpp
+++ b/tools/common/repositorygen.cpp
@@ -55,8 +55,9 @@ void QInstallerTools::printRepositoryGenOptions()
std::cout << " Defaults to the current working directory." << std::endl;
std::cout << " -e|--exclude p1,...,pn Exclude the given packages." << std::endl;
- std::cout << " -i|--include p1,...,pn Include the given packages and their dependencies from the "
- << "repository." << std::endl;
+ std::cout << " -i|--include p1,...,pn Include the given packages and their dependencies" << std::endl;
+ std::cout << " from the repository." << std::endl;
+
std::cout << " --ignore-translations Don't use any translation" << std::endl;
std::cout << " --ignore-invalid-packages Ignore all invalid packages instead of aborting." << std::endl;
}
diff --git a/tools/repogen/repogen.cpp b/tools/repogen/repogen.cpp
index c38018e6d..d678976fd 100644
--- a/tools/repogen/repogen.cpp
+++ b/tools/repogen/repogen.cpp
@@ -58,9 +58,8 @@ static void printUsage()
std::cout << " -u|--updateurl url instructs clients to receive updates from a " << std::endl;
std::cout << " different location" << std::endl;
- std::cout << " --update Update a set of existing components (defined by --include "
- << std::endl;
- std::cout << " or --exclude) in the repository" << std::endl;
+ std::cout << " --update Update a set of existing components (defined by " << std::endl;
+ std::cout << " --include or --exclude) in the repository" << std::endl;
std::cout << " -v|--verbose Verbose output" << std::endl;