clikt / com.github.ajalt.clikt.parsers / OptionParser / ParseResult / consumedCount

consumedCount

val consumedCount: Int

The number of items in argv that were consumed. This number must be >= 1 if the entire option was consumed, or 0 if there are other options in the same index (e.g. flag options)