diff --git a/ESP32-Console/main/commands.h b/ESP32-Console/main/commands.h index 66d179d5e..fa246be77 100644 --- a/ESP32-Console/main/commands.h +++ b/ESP32-Console/main/commands.h @@ -30,6 +30,8 @@ static int do_info_cmd (int argc, char **argv) { } static void register_info (void) { info_args.detail = arg_str1(NULL, NULL, "", "Chip temperature"); + info_args.end = arg_end(2); + const esp_console_cmd_t info_cmd = { .command = "info", .help = "System Information",