public inbox for linux-bluetooth@vger.kernel.org
 help / color / mirror / Atom feed
From: Luiz Augusto von Dentz <luiz.dentz@gmail.com>
To: linux-bluetooth@vger.kernel.org
Subject: [PATCH BlueZ 3/3] client: Add description for submenus
Date: Tue, 12 Dec 2017 10:14:19 -0200	[thread overview]
Message-ID: <20171212121419.4850-3-luiz.dentz@gmail.com> (raw)
In-Reply-To: <20171212121419.4850-1-luiz.dentz@gmail.com>

From: Luiz Augusto von Dentz <luiz.von.dentz@intel.com>

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


  parent reply	other threads:[~2017-12-12 12:14 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-12-12 12:14 [PATCH BlueZ 1/3] shared/shell: Add submenu description Luiz Augusto von Dentz
2017-12-12 12:14 ` [PATCH BlueZ 2/3] client: Add description for submenus Luiz Augusto von Dentz
2017-12-12 12:14 ` Luiz Augusto von Dentz [this message]
2017-12-12 12:40   ` [PATCH BlueZ 3/3] " Johan Hedberg

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20171212121419.4850-3-luiz.dentz@gmail.com \
    --to=luiz.dentz@gmail.com \
    --cc=linux-bluetooth@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox