aboutsummaryrefslogtreecommitdiff
path: root/runners/cli
diff options
context:
space:
mode:
Diffstat (limited to 'runners/cli')
-rw-r--r--runners/cli/src/main/kotlin/cli/main.kt12
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"