From 1fe303f75817275de946bdc21cbf0ed2751d1941 Mon Sep 17 00:00:00 2001 From: Dmitry Jemerov Date: Tue, 27 Oct 2015 14:00:40 +0100 Subject: fix command line argument parsing --- src/main.kt | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) diff --git a/src/main.kt b/src/main.kt index f2d2f8e2..e7c11fac 100644 --- a/src/main.kt +++ b/src/main.kt @@ -19,39 +19,39 @@ import org.jetbrains.kotlin.utils.PathUtil import java.io.File class DokkaArguments { - @Argument(value = "src", description = "Source file or directory (allows many paths separated by the system path separator)") + @set:Argument(value = "src", description = "Source file or directory (allows many paths separated by the system path separator)") @ValueDescription("") public var src: String = "" - @Argument(value = "srcLink", description = "Mapping between a source directory and a Web site for browsing the code") + @set:Argument(value = "srcLink", description = "Mapping between a source directory and a Web site for browsing the code") @ValueDescription("=[#lineSuffix]") public var srcLink: String = "" - @Argument(value = "include", description = "Markdown files to load (allows many paths separated by the system path separator)") + @set:Argument(value = "include", description = "Markdown files to load (allows many paths separated by the system path separator)") @ValueDescription("") public var include: String = "" - @Argument(value = "samples", description = "Source root for samples") + @set:Argument(value = "samples", description = "Source root for samples") @ValueDescription("") public var samples: String = "" - @Argument(value = "output", description = "Output directory path") + @set:Argument(value = "output", description = "Output directory path") @ValueDescription("") public var outputDir: String = "out/doc/" - @Argument(value = "format", description = "Output format (text, html, markdown, jekyll, kotlin-website)") + @set:Argument(value = "format", description = "Output format (text, html, markdown, jekyll, kotlin-website)") @ValueDescription("") public var outputFormat: String = "html" - @Argument(value = "module", description = "Name of the documentation module") + @set:Argument(value = "module", description = "Name of the documentation module") @ValueDescription("") public var moduleName: String = "" - @Argument(value = "classpath", description = "Classpath for symbol resolution") + @set:Argument(value = "classpath", description = "Classpath for symbol resolution") @ValueDescription("") public var classpath: String = "" - @Argument(value = "nodeprecated", description = "Exclude deprecated members from documentation") + @set:Argument(value = "nodeprecated", description = "Exclude deprecated members from documentation") public var nodeprecated: Boolean = false } -- cgit