WP_CLI\Dispatcher

Subcommand::show_usage()publicWP-CLI 1.0

Print the usage details to the end user.

Method of the class: Subcommand{}

No Hooks.

Return

null. Nothing.

Usage

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

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

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