From 9d7d70ee98f326c0b0e16a63d13614e6c494d675 Mon Sep 17 00:00:00 2001 From: Luiz Augusto von Dentz Date: Tue, 12 Dec 2017 10:12:50 -0200 Subject: [PATCH] mesh: Add description for submenus 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", "", 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", "", cmd_set_node, "Set node to configure"}, -- 2.47.3