Function esp_idf_svc::sys::esp_console_register_help_command

source ·
pub unsafe extern "C" fn esp_console_register_help_command() -> i32
Expand description

@brief Register a ‘help’ command

Default ‘help’ command prints the list of registered commands along with hints and help strings if no additional argument is given. If an additional argument is given, the help command will look for a command with the same name and only print the hints and help strings of that command.

@return - ESP_OK on success - ESP_ERR_INVALID_STATE, if esp_console_init wasn’t called