From cc3d4872f70cfebaf5d85c72af0030f526671915 Mon Sep 17 00:00:00 2001 From: Marcin Aman Date: Thu, 3 Sep 2020 13:39:58 +0200 Subject: Javadoc version number is always 0.0.1 #1406 --- runners/cli/src/main/kotlin/cli/main.kt | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'runners/cli/src') diff --git a/runners/cli/src/main/kotlin/cli/main.kt b/runners/cli/src/main/kotlin/cli/main.kt index 9f7755f6..fbdbf5eb 100644 --- a/runners/cli/src/main/kotlin/cli/main.kt +++ b/runners/cli/src/main/kotlin/cli/main.kt @@ -23,6 +23,12 @@ class GlobalArguments(args: Array) : DokkaConfiguration { override val moduleName: String by _moduleName + override val moduleVersion by parser.option( + ArgType.String, + description = "Documentation version", + fullName = "moduleVersion" + ) + override val outputDir by parser.option(ArgTypeFile, description = "Output directory path") .default(DokkaDefaults.outputDir) -- cgit