summaryrefslogtreecommitdiffstats
path: root/tools/repogen/repogen.cpp
diff options
context:
space:
mode:
authorkh1 <karsten.heimrich@digia.com>2013-08-23 13:02:17 +0200
committerKarsten Heimrich <karsten.heimrich@digia.com>2013-08-26 12:20:52 +0200
commitf84cbe8da86dac7daf75cacbb3b68127bdff761a (patch)
tree2725176755bc39cd19d1edc74adff11cc6e85b1f /tools/repogen/repogen.cpp
parentd1334fb478c61a3a63e2f2ec334c1f5487804d74 (diff)
Remove deprecated argument.
Change-Id: Ied0b8ef0e35fb39b6b5786f54c9844847d638cec Reviewed-by: Niels Weber <niels.weber@digia.com> Reviewed-by: Tim Jenssen <tim.jenssen@digia.com>
Diffstat (limited to 'tools/repogen/repogen.cpp')
-rw-r--r--tools/repogen/repogen.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/tools/repogen/repogen.cpp b/tools/repogen/repogen.cpp
index 4113826b8..9f0452b92 100644
--- a/tools/repogen/repogen.cpp
+++ b/tools/repogen/repogen.cpp
@@ -130,7 +130,7 @@ int main(int argc, char** argv)
filteredPackages = args.first().split(QLatin1Char(','));
args.removeFirst();
filterType = QInstallerTools::Include;
- } else if (args.first() == QLatin1String("--single") || args.first() == QLatin1String("--update")) {
+ } else if (args.first() == QLatin1String("--update")) {
args.removeFirst();
updateExistingRepository = true;
} else if (args.first() == QLatin1String("-p") || args.first() == QLatin1String("--packages")) {
@@ -169,7 +169,7 @@ int main(int argc, char** argv)
}
if (remove && updateExistingRepository) {
- throw QInstaller::Error(QObject::tr("Argument -r|--remove and --single|--update are mutually "
+ throw QInstaller::Error(QObject::tr("Argument -r|--remove and --update are mutually "
"exclusive!"));
}