Option

data class Option(names: Set<String>, secondaryNames: Set<String>, metavar: String?, help: String, nvalues: Int, tags: Map<String, String>, groupName: String?) : HelpFormatter.ParameterHelp

Parameters

names

The names that can be used to invoke this option

secondaryNames

Secondary names that can be used to e.g. disable the option

metavar

The metavar to display for the option if it takes values

help

The option's description

nvalues

The number of values that this option takes

tags

Any extra tags to display with the help message for this option

groupName

The name of the group this option belongs to, if there is one and its name should be shown in the help message

Constructors

Link copied to clipboard
fun Option(names: Set<String>, secondaryNames: Set<String>, metavar: String?, help: String, nvalues: Int, tags: Map<String, String>, groupName: String?)

Properties

Link copied to clipboard
val groupName: String?
Link copied to clipboard
val help: String
Link copied to clipboard
val metavar: String?
Link copied to clipboard
val names: Set<String>
Link copied to clipboard
val nvalues: Int
Link copied to clipboard
val secondaryNames: Set<String>
Link copied to clipboard
val tags: Map<String, String>