From 0c6ec93755a0444899010f4b35213ea4c6ccb7cc Mon Sep 17 00:00:00 2001 From: Steve Brown Date: Tue, 19 Dec 2017 16:27:59 -0500 Subject: [PATCH] mesh: meshctl: Make composition-get argument optional It can't be both optional and required. [config: Target = 0100]# composition-get 0 Unable to parse optional command arguments --- mesh/config-client.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mesh/config-client.c b/mesh/config-client.c index fc6b3dc5d..f280441cc 100644 --- a/mesh/config-client.c +++ b/mesh/config-client.c @@ -997,7 +997,7 @@ static const struct bt_shell_menu cfg_menu = { .entries = { {"target", "", cmd_set_node, "Set target node to configure"}, - {"composition-get", "[]", cmd_get_composition, + {"composition-get", "[page_num]", cmd_get_composition, "Get Composition Data"}, {"netkey-add", "", cmd_add_net_key, "Add network key"}, -- 2.47.3