aboutsummaryrefslogtreecommitdiff
path: root/runners/cli/src
diff options
context:
space:
mode:
authorSimon Ogorodnik <Simon.Ogorodnik@jetbrains.com>2017-03-23 22:59:08 +0300
committerSimon Ogorodnik <Simon.Ogorodnik@jetbrains.com>2017-03-29 18:37:38 +0300
commit57e38932b414e7496678b3cc1f171cbf7c4d8fbb (patch)
tree4658b36056734ceda19be3ce78c62791712aef32 /runners/cli/src
parent921192e64c7f1df02692c1ec7f24f4a8bc9b7231 (diff)
downloaddokka-57e38932b414e7496678b3cc1f171cbf7c4d8fbb.tar.gz
dokka-57e38932b414e7496678b3cc1f171cbf7c4d8fbb.tar.bz2
dokka-57e38932b414e7496678b3cc1f171cbf7c4d8fbb.zip
Per package options
Diffstat (limited to 'runners/cli/src')
-rw-r--r--runners/cli/src/main/kotlin/cli/main.kt6
1 files changed, 5 insertions, 1 deletions
diff --git a/runners/cli/src/main/kotlin/cli/main.kt b/runners/cli/src/main/kotlin/cli/main.kt
index 58bca522..20897c32 100644
--- a/runners/cli/src/main/kotlin/cli/main.kt
+++ b/runners/cli/src/main/kotlin/cli/main.kt
@@ -47,6 +47,9 @@ class DokkaArguments {
@set:Argument(value = "impliedPlatforms", description = "List of implied platforms (comma-separated)")
var impliedPlatforms: String = ""
+
+ @set:Argument(value = "packageOptions", description = "List of package options in format \"prefix,-deprecated,-privateApi,+warnUndocumented;...\" ")
+ var packageOptions: String = ""
}
@@ -76,7 +79,8 @@ object MainKt {
arguments.outputFormat,
skipDeprecated = arguments.nodeprecated,
sourceLinks = sourceLinks,
- impliedPlatforms = arguments.impliedPlatforms.split(',')
+ impliedPlatforms = arguments.impliedPlatforms.split(','),
+ perPackageOptions = parsePerPackageOptions(arguments.packageOptions)
)
val generator = DokkaGenerator(