From e9fd8b7bc00491b50e4822acc82e5615ab0bde3b Mon Sep 17 00:00:00 2001 From: "sebastian.sellmair" Date: Fri, 5 Jun 2020 09:07:20 +0200 Subject: Implement `reportUndocumented` option to report undocumented code --- runners/cli/src/main/kotlin/cli/main.kt | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'runners/cli/src/main/kotlin') diff --git a/runners/cli/src/main/kotlin/cli/main.kt b/runners/cli/src/main/kotlin/cli/main.kt index 6082fda2..be42bc79 100644 --- a/runners/cli/src/main/kotlin/cli/main.kt +++ b/runners/cli/src/main/kotlin/cli/main.kt @@ -188,7 +188,7 @@ class Arguments(val parser: DokkaArgumentsParser) : DokkaConfiguration.PassConfi override val perPackageOptions: MutableList by parser.singleOption( listOf("-packageOptions"), - "List of package passConfiguration in format \"prefix,-deprecated,-privateApi,+warnUndocumented,+suppress;...\" ", + "List of package passConfiguration in format \"prefix,-deprecated,-privateApi,+reportUndocumented,+suppress;...\" ", { parsePerPackageOptions(it).toMutableList() }, { mutableListOf() } ) @@ -292,7 +292,7 @@ object MainKt { parseContext.cli.singleAction( listOf("-globalPackageOptions"), - "List of package passConfiguration in format \"prefix,-deprecated,-privateApi,+warnUndocumented,+suppress;...\" " + "List of package passConfiguration in format \"prefix,-deprecated,-privateApi,+reportUndocumented,+suppress;...\" " ) { link -> configuration.passesConfigurations.all { it.perPackageOptions.toMutableList().addAll(parsePerPackageOptions(link)) -- cgit