Skip to content
Commit e98e6a8a authored by Aurelien Jarno's avatar Aurelien Jarno Committed by Carles Cufí
Browse files

net: openthread: remove one subcommand level in shell



Currently OpenThread commands have to be prefixed in the shell by "ot
cmd", for example "ot cmd state". With the new shell, it is possible to
remove one subcommand level and change it to "ot state".

At the same time validate the number of arguments using
SHELL_CMD_ARG_REGISTER and improve the help message.

Signed-off-by: default avatarAurelien Jarno <aurelien@aurel32.net>
parent ac3ff65a
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment