From 8c60a31651140f5bf4b3cb9809f3eb37d628c705 Mon Sep 17 00:00:00 2001 From: Luiz Augusto von Dentz Date: Tue, 12 Dec 2017 10:09:47 -0200 Subject: [PATCH] client: Add description for submenus This adds proper descriptions for each submenu. --- client/main.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/client/main.c b/client/main.c index f3369e89a..e5a080696 100644 --- a/client/main.c +++ b/client/main.c @@ -2202,6 +2202,7 @@ static void cmd_set_advertise_timeout(int argc, char *argv[]) static const struct bt_shell_menu advertise_menu = { .name = "advertise", + .desc = "Advertise Options Submenu", .entries = { { "set-uuids", "[uuid1 uuid2 ...]", cmd_set_advertise_uuids, "Set advertise uuids" }, @@ -2226,6 +2227,7 @@ static const struct bt_shell_menu advertise_menu = { static const struct bt_shell_menu scan_menu = { .name = "scan", + .desc = "Scan Options Submenu", .entries = { { "set-filter-uuids", "[uuid1 uuid2 ...]", cmd_set_scan_filter_uuids, "Set scan filter uuids" }, @@ -2246,6 +2248,7 @@ static const struct bt_shell_menu scan_menu = { static const struct bt_shell_menu gatt_menu = { .name = "gatt", + .desc = "Generic Attribute Submenu", .entries = { { "list-attributes", "[dev]", cmd_list_attributes, "List attributes", dev_generator }, -- 2.47.3