diff options
author | Andrzej Ratajczak <andrzej.ratajczak98@gmail.com> | 2020-10-05 19:28:28 +0200 |
---|---|---|
committer | Kamil Doległo <9080183+kamildoleglo@users.noreply.github.com> | 2020-10-06 13:23:07 +0200 |
commit | 94be25b8854fd6a02adcb1c8798c9afe633b5a20 (patch) | |
tree | fe7fc943459486834a020f1e0a55bf2efcb38fc8 /runners/cli/src | |
parent | 9eeaa967e526e7beae4de9c9b8b09ce26ff00293 (diff) | |
download | dokka-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')
-rw-r--r-- | runners/cli/src/main/kotlin/cli/main.kt | 2 |
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 |