PrintHelp

class PrintHelp(val thisCommandOnly: Boolean = true, val returnCode: Int = 1) : RuntimeException

Triggers the help display and exit.

Constructors

Link copied to clipboard
fun PrintHelp(thisCommandOnly: Boolean = true, returnCode: Int = 1)

Functions

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard

Properties

Link copied to clipboard
open val cause: Throwable?
Link copied to clipboard
open val message: String?
Link copied to clipboard
val returnCode: Int = 1

Exit status, default being an error.

Link copied to clipboard

Display the current command help by default, or all commands if false.