[PATCH BlueZ 3/3] client: Add description for submenus

Luiz Augusto von Dentz
2017-12-12T12:14:19Z

This adds proper descriptions for each submenu.
---
mesh/config-client.c | 1 +
mesh/onoff-model.c | 1 +
2 files changed, 2 insertions(+)

diff --git a/mesh/config-client.c b/mesh/config-client.c
index 3d618b6a6..aad6525c2 100644
--- a/mesh/config-client.c
+++ b/mesh/config-client.c
@@ -613,6 +613,7 @@ static void cmd_get_ttl(int argc, char *argv[])

static const struct bt_shell_menu cfg_menu = {
.name = "config",
+ .desc = "Configuration Model Submenu",
.entries = {
{"target", "<unicast>", cmd_set_node,
"Set target node to configure"},
diff --git a/mesh/onoff-model.c b/mesh/onoff-model.c
index fc0d64617..dbbe69706 100644
--- a/mesh/onoff-model.c
+++ b/mesh/onoff-model.c
@@ -259,6 +259,7 @@ static void cmd_set(int argc, char *argv[])

static const struct bt_shell_menu onoff_menu = {
.name = "onoff",
+ .desc = "On/Off Model Submenu",
.entries = {
{"target", "<unicast>", cmd_set_node,
"Set node to configure"},
--
2.13.6