clikt / com.github.ajalt.clikt.output / HelpFormatter / formatUsage

formatUsage

abstract fun formatUsage(parameters: List<ParameterHelp>, programName: String = ""): String

Create the one-line usage information for a command.

This is usually displayed when incorrect input is encountered, and as the first line of the full help.