wifi: shell: Fix help for PS command

Clearly mark the args as optional.

Signed-off-by: Chaitanya Tata <Chaitanya.Tata@nordicsemi.no>
This commit is contained in:
Chaitanya Tata 2023-12-22 13:59:52 +05:30 committed by Anas Nashif
parent 9b55802d98
commit 30c492d5de

View file

@ -1657,7 +1657,8 @@ SHELL_STATIC_SUBCMD_SET_CREATE(wifi_commands,
SHELL_CMD_ARG(disconnect, NULL, "Disconnect from the Wi-Fi AP",
cmd_wifi_disconnect,
1, 0),
SHELL_CMD_ARG(ps, NULL, "Configure Wi-F PS on/off, no arguments will dump config",
SHELL_CMD_ARG(ps, NULL, "Configure or display Wi-Fi power save state\n"
"[on/off]\n",
cmd_wifi_ps,
1, 1),
SHELL_CMD_ARG(ps_mode,