aboutsummaryrefslogtreecommitdiff
path: root/core/src/main/kotlin/main.kt
diff options
context:
space:
mode:
Diffstat (limited to 'core/src/main/kotlin/main.kt')
-rw-r--r--core/src/main/kotlin/main.kt2
1 files changed, 1 insertions, 1 deletions
diff --git a/core/src/main/kotlin/main.kt b/core/src/main/kotlin/main.kt
index c54255f5..30a33a96 100644
--- a/core/src/main/kotlin/main.kt
+++ b/core/src/main/kotlin/main.kt
@@ -73,7 +73,7 @@ private fun parseSourceLinkDefinition(srcLink: String): SourceLinkDefinition {
fun main(args: Array<String>) {
val arguments = DokkaArguments()
- val freeArgs: List<String> = Args.parse(arguments, args) ?: listOf()
+ val freeArgs: List<String> = Args.parse(arguments, args, false) ?: listOf()
val sources = if (arguments.src.isNotEmpty()) arguments.src.split(File.pathSeparatorChar).toList() + freeArgs else freeArgs
val samples = if (arguments.samples.isNotEmpty()) arguments.samples.split(File.pathSeparatorChar).toList() else listOf()
val includes = if (arguments.include.isNotEmpty()) arguments.include.split(File.pathSeparatorChar).toList() else listOf()