Usage Error
Constructors
Link copied to clipboard
fun UsageError(text: String, paramName: String? = null, context: Context? = null, statusCode: Int = 1)
Content copied to clipboard
Link copied to clipboard
fun UsageError(text: String, argument: Argument, context: Context? = null, statusCode: Int = 1)
Content copied to clipboard
Link copied to clipboard
fun UsageError(text: String, option: Option, context: Context? = null, statusCode: Int = 1)
Content copied to clipboard
Functions
Properties
Link copied to clipboard
The value to use as the exit code for the process. If you use CliktCommand.main, it will pass this value to exitProcess
after printing message. Defaults to 1.