aboutsummaryrefslogtreecommitdiff
path: root/runners/cli/src
diff options
context:
space:
mode:
authorMarcin Aman <marcin.aman@gmail.com>2021-04-06 18:06:42 +0200
committerGitHub <noreply@github.com>2021-04-06 18:06:42 +0200
commit5afe512c669e68aea3712ac37b67d005657cf60a (patch)
tree2a2ec579a16bf32b93dbcd1adaa8961c2c875b59 /runners/cli/src
parentcd071a5e07c8202c66db2e077ea43bea76d55511 (diff)
downloaddokka-5afe512c669e68aea3712ac37b67d005657cf60a.tar.gz
dokka-5afe512c669e68aea3712ac37b67d005657cf60a.tar.bz2
dokka-5afe512c669e68aea3712ac37b67d005657cf60a.zip
Suppress inherited members (#1814)
Diffstat (limited to 'runners/cli/src')
-rw-r--r--runners/cli/src/main/kotlin/cli/main.kt5
1 files changed, 5 insertions, 0 deletions
diff --git a/runners/cli/src/main/kotlin/cli/main.kt b/runners/cli/src/main/kotlin/cli/main.kt
index 42ac1806..7c402df5 100644
--- a/runners/cli/src/main/kotlin/cli/main.kt
+++ b/runners/cli/src/main/kotlin/cli/main.kt
@@ -83,6 +83,11 @@ class GlobalArguments(args: Array<String>) : DokkaConfiguration {
override val includes: Set<File> by lazy { _includes.toSet() }
+ override val suppressInheritedMembers: Boolean by parser.option(
+ ArgType.Boolean,
+ description = "Suppress members inherited from other classes"
+ ).default(DokkaDefaults.suppressInheritedMembers)
+
val globalPackageOptions by parser.option(
ArgType.String,
description = "List of package source sets in format \"prefix,-deprecated,-privateApi,+warnUndocumented,+suppress;...\" "