aboutsummaryrefslogtreecommitdiff
path: root/runners/cli/src/main/kotlin
diff options
context:
space:
mode:
authorAndrzej Ratajczak <andrzej.ratajczak98@gmail.com>2020-10-05 19:28:28 +0200
committerKamil Doległo <9080183+kamildoleglo@users.noreply.github.com>2020-10-06 13:23:07 +0200
commit94be25b8854fd6a02adcb1c8798c9afe633b5a20 (patch)
treefe7fc943459486834a020f1e0a55bf2efcb38fc8 /runners/cli/src/main/kotlin
parent9eeaa967e526e7beae4de9c9b8b09ce26ff00293 (diff)
downloaddokka-94be25b8854fd6a02adcb1c8798c9afe633b5a20.tar.gz
dokka-94be25b8854fd6a02adcb1c8798c9afe633b5a20.tar.bz2
dokka-94be25b8854fd6a02adcb1c8798c9afe633b5a20.zip
Change in CLI module name to be optional, but with default value
Diffstat (limited to 'runners/cli/src/main/kotlin')
-rw-r--r--runners/cli/src/main/kotlin/cli/main.kt2
1 files changed, 1 insertions, 1 deletions
diff --git a/runners/cli/src/main/kotlin/cli/main.kt b/runners/cli/src/main/kotlin/cli/main.kt
index fbdbf5eb..a1139e65 100644
--- a/runners/cli/src/main/kotlin/cli/main.kt
+++ b/runners/cli/src/main/kotlin/cli/main.kt
@@ -19,7 +19,7 @@ class GlobalArguments(args: Array<String>) : DokkaConfiguration {
ArgType.String,
description = "Name of the documentation module",
fullName = "moduleName"
- ).required()
+ ).default(DokkaDefaults.moduleName)
override val moduleName: String by _moduleName