WP_CLI\Dispatcher

Subcommand::show_usagepublicWP-CLI 1.0

Print the usage details to the end user.

Method of the class: Subcommand{}

No Hooks.

Returns

null. Nothing (null).

Usage

$Subcommand = new Subcommand();
$Subcommand->show_usage( $prefix );
$prefix(string)
.
Default: 'usage: '

Subcommand::show_usage() code WP-CLI 2.13.0-alpha

public function show_usage( $prefix = 'usage: ' ) {
	\WP_CLI::line( $this->get_usage( $prefix ) );
}