From f5c556d207b7b3cdbecfb7c8cfb489ba4d5050a4 Mon Sep 17 00:00:00 2001 From: Frank Viernau Date: Wed, 8 Nov 2023 11:01:54 +0100 Subject: [PATCH] docs(evaluator): Fix-up the docs for two CLI options Previously, the docs referred to package configurations which did not make sense, see also [1]. [1] 910454160c51bb783a6b40496ba68c782901e835 Signed-off-by: Frank Viernau --- .../commands/evaluator/src/main/kotlin/EvaluatorCommand.kt | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/plugins/commands/evaluator/src/main/kotlin/EvaluatorCommand.kt b/plugins/commands/evaluator/src/main/kotlin/EvaluatorCommand.kt index 348144ca1d86d..4d68b14a543a2 100644 --- a/plugins/commands/evaluator/src/main/kotlin/EvaluatorCommand.kt +++ b/plugins/commands/evaluator/src/main/kotlin/EvaluatorCommand.kt @@ -149,7 +149,7 @@ class EvaluatorCommand : OrtCommand( private val packageCurationsFile by option( "--package-curations-file", help = "A file containing package curations. This replaces all package curations contained in the given ORT " + - "result file with the ones present in the given file and, if enabled, those from the package " + + "result file with the ones present in the given file and, if enabled, those from the repository " + "configuration." ).convert { it.expandTilde() } .file(mustExist = true, canBeFile = true, canBeDir = false, mustBeWritable = false, mustBeReadable = true) @@ -160,7 +160,7 @@ class EvaluatorCommand : OrtCommand( "--package-curations-dir", help = "A directory containing package curation files. This replaces all package curations contained in the " + "given ORT result file with the ones present in the given directory and, if enabled, those from the " + - "package configuration file." + "repository configuration." ).convert { it.expandTilde() } .file(mustExist = true, canBeFile = false, canBeDir = true, mustBeWritable = false, mustBeReadable = true) .convert { it.absoluteFile.normalize() }