[PATCH] mesh: meshctl: Make composition-get argument optional

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



From: Steve Brown <sbrown@xxxxxxxxxxxx>

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",		"<unicast>",		cmd_set_node,
 						"Set target node to configure"},
-	{"composition-get",	"[<page_num>]",		cmd_get_composition,
+	{"composition-get",	"[page_num]",		cmd_get_composition,
 						"Get Composition Data"},
 	{"netkey-add",		"<net_idx>",		cmd_add_net_key,
 						"Add network key"},
-- 
2.14.1

--
To unsubscribe from this list: send the line "unsubscribe linux-bluetooth" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html



[Index of Archives]     [Bluez Devel]     [Linux Wireless Networking]     [Linux Wireless Personal Area Networking]     [Linux ATH6KL]     [Linux USB Devel]     [Linux Media Drivers]     [Linux Audio Users]     [Linux Kernel]     [Linux SCSI]     [Big List of Linux Books]

  Powered by Linux