diff options
author | Błażej Kardyś <bkardys@virtuslab.com> | 2020-05-19 19:02:58 +0200 |
---|---|---|
committer | Błażej Kardyś <bkardys@virtuslab.com> | 2020-05-20 13:31:00 +0200 |
commit | 6b85bb2ec2764a2c8b14717ef8e013a0f3c6e99f (patch) | |
tree | f29b4101c306d824f39787d817bd038fbf740779 /runners/cli/src | |
parent | ff450fedb3c8bdc318b55954bc37d93b30b9277c (diff) | |
download | dokka-6b85bb2ec2764a2c8b14717ef8e013a0f3c6e99f.tar.gz dokka-6b85bb2ec2764a2c8b14717ef8e013a0f3c6e99f.tar.bz2 dokka-6b85bb2ec2764a2c8b14717ef8e013a0f3c6e99f.zip |
Merging of platform dependent hints in sourceset tree
Diffstat (limited to 'runners/cli/src')
-rw-r--r-- | runners/cli/src/main/kotlin/cli/main.kt | 12 |
1 files changed, 9 insertions, 3 deletions
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<String> by parser.repeatableOption<String>( listOf("-classpath"), "Classpath for symbol resolution" @@ -82,10 +83,15 @@ class Arguments(val parser: DokkaArgumentsParser) : DokkaConfiguration.PassConfi ) { SourceRootImpl(it) } override val dependentSourceRoots: List<DokkaConfiguration.SourceRoot> 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<String> by parser.repeatableOption<String>( + listOf("-dependentSets"), + "Names of dependent source sets" + ) + override val samples: List<String> by parser.repeatableOption<String>( listOf("-sample"), "Source root for samples" |