clikt / com.github.ajalt.clikt.parameters.options / counted

counted

fun RawOption.counted(): FlagOption<Int>

Turn an option into a flag that counts the number of times the option occurs on the command line.