diff options
author | Christian Kandeler <christian.kandeler@qt.io> | 2017-11-17 15:12:47 +0100 |
---|---|---|
committer | Christian Kandeler <christian.kandeler@qt.io> | 2017-11-20 09:42:28 +0000 |
commit | 9b838c0dc6ee80f5dbd60819a22a569d89ec014c (patch) | |
tree | 85c1c5b4a67e65d62a6cd60dadcbadb48f222197 /tests/benchmarker | |
parent | df14679c509bd1056d6d0722a4eff69f43367796 (diff) |
Benchmarker: Better names for short options
Change-Id: I89d63c9ca881136b7b1d47c45c42249724ee889b
Reviewed-by: Oswald Buddenhagen <oswald.buddenhagen@qt.io>
Reviewed-by: Jake Petroules <jake.petroules@qt.io>
Diffstat (limited to 'tests/benchmarker')
-rw-r--r-- | tests/benchmarker/commandlineparser.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/tests/benchmarker/commandlineparser.cpp b/tests/benchmarker/commandlineparser.cpp index 6bc6cc966..2c214c5e0 100644 --- a/tests/benchmarker/commandlineparser.cpp +++ b/tests/benchmarker/commandlineparser.cpp @@ -57,10 +57,10 @@ void CommandLineParser::parse() QCommandLineOption newCommitOption(QStringList{"new-commit", "n"}, "The new qbs commit.", "new commit"); parser.addOption(newCommitOption); - QCommandLineOption testProjectOption(QStringList{"test-project", "t"}, + QCommandLineOption testProjectOption(QStringList{"test-project", "p"}, "The example project to use for the benchmark.", "project file path"); parser.addOption(testProjectOption); - QCommandLineOption qbsRepoOption(QStringList{"qbs-repo", "q"}, "The qbs repository.", + QCommandLineOption qbsRepoOption(QStringList{"qbs-repo", "r"}, "The qbs repository.", "repo path"); parser.addOption(qbsRepoOption); QCommandLineOption activitiesOption(QStringList{"activities", "a"}, @@ -68,7 +68,7 @@ void CommandLineParser::parse() .arg(resolveActivity(), ruleExecutionActivity(), nullBuildActivity(), allActivities()), "activities", allActivities()); parser.addOption(activitiesOption); - QCommandLineOption thresholdOption(QStringList{"regression-threshold", "r"}, + QCommandLineOption thresholdOption(QStringList{"regression-threshold", "t"}, "A relative increase higher than this is considered a performance regression. " "All temporary data from running the benchmarks will be kept if that happens.", "value in per cent"); |