From 8a5133d4773513f48c772926d545597fcc95f35d Mon Sep 17 00:00:00 2001 From: crispyberry Date: Thu, 19 Feb 2026 16:00:18 +0800 Subject: [PATCH] chore: rename wifi_set command to set_wifi for consistency Co-Authored-By: Claude Opus 4.6 --- main/cli/serial_cli.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/main/cli/serial_cli.c b/main/cli/serial_cli.c index a1d6a65..d2315c4 100644 --- a/main/cli/serial_cli.c +++ b/main/cli/serial_cli.c @@ -561,13 +561,13 @@ esp_err_t serial_cli_init(void) /* Register commands */ esp_console_register_help_command(); - /* wifi_set */ + /* set_wifi */ wifi_set_args.ssid = arg_str1(NULL, NULL, "", "WiFi SSID"); wifi_set_args.password = arg_str1(NULL, NULL, "", "WiFi password"); wifi_set_args.end = arg_end(2); esp_console_cmd_t wifi_set_cmd = { - .command = "wifi_set", - .help = "Set WiFi SSID and password", + .command = "set_wifi", + .help = "Set WiFi SSID and password (e.g. set_wifi MySSID MyPass)", .func = &cmd_wifi_set, .argtable = &wifi_set_args, };