Skip to content

Commit

Permalink
docs(evaluator): Fix-up the docs for two CLI options
Browse files Browse the repository at this point in the history
Previously, the docs referred to package configurations which did not make
sense, see also [1].

[1] 9104541

Signed-off-by: Frank Viernau <[email protected]>
  • Loading branch information
fviernau committed Nov 8, 2023
1 parent 5edbe72 commit f5c556d
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand All @@ -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() }
Expand Down

0 comments on commit f5c556d

Please sign in to comment.