From 6b85bb2ec2764a2c8b14717ef8e013a0f3c6e99f Mon Sep 17 00:00:00 2001 From: Błażej Kardyś Date: Tue, 19 May 2020 19:02:58 +0200 Subject: Merging of platform dependent hints in sourceset tree --- runners/cli/src/main/kotlin/cli/main.kt | 12 +++++++++--- 1 file changed, 9 insertions(+), 3 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 f0d22aff..0818bd63 100644 --- a/runners/cli/src/main/kotlin/cli/main.kt +++ b/runners/cli/src/main/kotlin/cli/main.kt @@ -66,11 +66,12 @@ class Arguments(val parser: DokkaArgumentsParser) : DokkaConfiguration.PassConfi ) override val sourceSetName: String by parser.stringOption( - listOf("-module"), + listOf("-sourceSetName"), "Name of the source set", "main" ) + override val classpath: List by parser.repeatableOption( listOf("-classpath"), "Classpath for symbol resolution" @@ -82,10 +83,15 @@ class Arguments(val parser: DokkaArgumentsParser) : DokkaConfiguration.PassConfi ) { SourceRootImpl(it) } override val dependentSourceRoots: List by parser.repeatableOption( - listOf("-src"), - "Source file or directory (allows many paths separated by the system path separator)" + listOf("-dependentRoots"), + "Source roots of dependent source sets" ) { SourceRootImpl(it) } + override val dependentSourceSets: List by parser.repeatableOption( + listOf("-dependentSets"), + "Names of dependent source sets" + ) + override val samples: List by parser.repeatableOption( listOf("-sample"), "Source root for samples" -- cgit