diff options
Diffstat (limited to 'runners/cli')
-rw-r--r-- | runners/cli/build.gradle | 1 | ||||
-rw-r--r-- | runners/cli/src/main/kotlin/cli/main.kt | 2 |
2 files changed, 1 insertions, 2 deletions
diff --git a/runners/cli/build.gradle b/runners/cli/build.gradle index 2dbaa793..97b5c307 100644 --- a/runners/cli/build.gradle +++ b/runners/cli/build.gradle @@ -2,5 +2,4 @@ sourceCompatibility = 1.5 dependencies { compile project(":core") - compile "com.github.spullara.cli-parser:cli-parser:1.1.1" } diff --git a/runners/cli/src/main/kotlin/cli/main.kt b/runners/cli/src/main/kotlin/cli/main.kt index f4e81241..68192dc7 100644 --- a/runners/cli/src/main/kotlin/cli/main.kt +++ b/runners/cli/src/main/kotlin/cli/main.kt @@ -54,7 +54,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() |