aboutsummaryrefslogtreecommitdiff
path: root/runners/cli/src
diff options
context:
space:
mode:
authorSimon Ogorodnik <Simon.Ogorodnik@jetbrains.com>2018-10-03 08:01:20 +0300
committerSimon Ogorodnik <Simon.Ogorodnik@jetbrains.com>2018-10-03 08:01:20 +0300
commit0370d016c95761b57f13b007cd8c2494601a1539 (patch)
tree3ad614b434a5b76b02c1edd182b54c8f5efe0dea /runners/cli/src
parent7d4e133fa46b9ab358472398ae03cbefbf49d9e3 (diff)
downloaddokka-0370d016c95761b57f13b007cd8c2494601a1539.tar.gz
dokka-0370d016c95761b57f13b007cd8c2494601a1539.tar.bz2
dokka-0370d016c95761b57f13b007cd8c2494601a1539.zip
Introduce per-pass sinceKotlin
Diffstat (limited to 'runners/cli/src')
-rw-r--r--runners/cli/src/main/kotlin/cli/main.kt6
1 files changed, 6 insertions, 0 deletions
diff --git a/runners/cli/src/main/kotlin/cli/main.kt b/runners/cli/src/main/kotlin/cli/main.kt
index 655dfde5..d67a9875 100644
--- a/runners/cli/src/main/kotlin/cli/main.kt
+++ b/runners/cli/src/main/kotlin/cli/main.kt
@@ -120,6 +120,12 @@ class Arguments(val parser: DokkaArgumentsParser) : DokkaConfiguration.PassConfi
""
)
+ override val sinceKotlin: String by parser.stringOption(
+ listOf("-sinceKotlin"),
+ "Kotlin Api version to use as base version, if none specified",
+ "1.0"
+ )
+
override val collectInheritedExtensionsFromLibraries: Boolean by parser.singleFlag(
listOf("-collectInheritedExtensionsFromLibraries"),
"Search for applicable extensions in libraries")