getFormattedHelp

fun getFormattedHelp(error: CliktError? = null): String?

Return the help string for this command, optionally with an error.

Return null if the error does not have a message (e.g. ProgramResult)