help

fun <T> FlagOption<T>.help(help: String): FlagOption<T>

Set the help for this option.

Although you would normally pass the help string as an argument to option, this function can be more convenient for long help strings.

Example:

val number by option()
.flag()
.help("This option is a flag")
fun <AllT, EachT, ValueT> OptionWithValues<AllT, EachT, ValueT>.help(help: String): OptionWithValues<AllT, EachT, ValueT>

Set the help for this option.

Although you would normally pass the help string as an argument to option, this function can be more convenient for long help strings.

Example:

val number by option()
.int()
.help("This is an option that takes a number")