Skip to content

Commit d9d598f

Browse files
jorgenmknordicjm
authored andcommitted
wifi_creds: Fix help output
There was mismatch between help screen and implementation. Signed-off-by: Jorgen Kvalvaag <[email protected]>
1 parent d05aa89 commit d9d598f

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

subsys/net/lib/wifi_credentials/wifi_credentials_shell.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -314,15 +314,15 @@ SHELL_SUBCMD_ADD((nwifi_cred), add, NULL,
314314
"<-s --ssid \"<SSID>\">: SSID.\n"
315315
"[-c --channel]: Channel that needs to be scanned for connection. 0:any channel.\n"
316316
"[-b, --band] 0: any band (2:2.4GHz, 5:5GHz, 6:6GHz]\n"
317-
"[-p, --psk]: Passphrase (valid only for secure SSIDs)\n"
317+
"[-p, --passphrase]: Passphrase (valid only for secure SSIDs)\n"
318318
"[-k, --key-mgmt]: Key Management type (valid only for secure SSIDs)\n"
319319
"0:None, 1:WPA2-PSK, 2:WPA2-PSK-256, 3:SAE-HNP, 4:SAE-H2E, 5:SAE-AUTO, 6:WAPI,"
320320
" 7:EAP-TLS, 8:WEP, 9: WPA-PSK, 10: WPA-Auto-Personal, 11: DPP\n"
321321
"[-w, --ieee-80211w]: MFP (optional: needs security type to be specified)\n"
322322
": 0:Disable, 1:Optional, 2:Required.\n"
323323
"[-m, --bssid]: MAC address of the AP (BSSID).\n"
324324
"[-t, --timeout]: Timeout for the connection attempt (in seconds).\n"
325-
"[-a, --anon-id]: Anonymous identity for enterprise mode.\n"
325+
"[-a, --identity]: Identity for enterprise mode.\n"
326326
"[-K, --key-passwd]: Private key passwd for enterprise mode.\n"
327327
"[-h, --help]: Print out the help for the connect command.\n",
328328
cmd_add_network, 2, 12);

0 commit comments

Comments
 (0)