wifi: shell: Fix PS mode help

There is only a single parameter called "mode" that takes two possible
values.

Signed-off-by: Chaitanya Tata <Chaitanya.Tata@nordicsemi.no>
This commit is contained in:
Chaitanya Tata 2023-12-01 10:37:21 +05:30 committed by Henrik Brix Andersen
parent 95e52c9c63
commit 8ad78a4bb4

View file

@ -1644,8 +1644,7 @@ SHELL_STATIC_SUBCMD_SET_CREATE(wifi_commands,
cmd_wifi_ps),
SHELL_CMD_ARG(ps_mode,
NULL,
"<legacy>\n"
"<wmm>",
"<mode: legacy/WMM>\n",
cmd_wifi_ps_mode,
2,
0),
@ -1733,8 +1732,7 @@ SHELL_STATIC_SUBCMD_SET_CREATE(wifi_commands,
0),
SHELL_CMD_ARG(ps_wakeup_mode,
NULL,
"<dtim> : Set PS wake up mode to DTIM interval\n"
"<listen_interval> : Set PS wake up mode to listen interval",
"<wakeup_mode: DTIM/Listen Interval>\n",
cmd_wifi_ps_wakeup_mode,
2,
0),