printUsage

fun printUsage(args: Arguments, term: Terminal? = null)(source)

Prints comprehensive usage information for the application.

Outputs a complete help message including application description (if set), usage syntax, available options, and positional arguments. This is the standard help output shown when users request help with --help.

Parameters

args

The Arguments instance to generate help for

term

The Terminal instance to use for output (optional)