IncorrectArgumentValueCount

class IncorrectArgumentValueCount(argument: Argument, context: Context?) : UsageError

An argument was supplied but the number of values supplied was incorrect.

Constructors

IncorrectArgumentValueCount
Link copied to clipboard
common
fun IncorrectArgumentValueCount(argument: Argument, context: Context? = null)

Functions

helpMessage
Link copied to clipboard
common
fun helpMessage(): String

Properties

argument
Link copied to clipboard
common
var argument: Argument? = null
The argument that caused this error.
cause
Link copied to clipboard
common
open val cause: Throwable?
context
Link copied to clipboard
common
var context: Context? = null
message
Link copied to clipboard
common
open override val message: String?
option
Link copied to clipboard
common
var option: Option? = null
The option that caused this error.
paramName
Link copied to clipboard
common
var paramName: String? = null
The name of the parameter that caused the error.
statusCode
Link copied to clipboard
common
val statusCode: Int = 1
The value to use as the exit code for the process.
text
Link copied to clipboard
common
val text: String? = null
Extra text to add to the message.