[PATCH BlueZ v2] tools/mesh-cfgclient: Fix config menu help message

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

 



An info message suggesting to request a remote node composition
should reference the correct menu command: "composition-get".
---
 tools/mesh/cfgcli.c | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/tools/mesh/cfgcli.c b/tools/mesh/cfgcli.c
index f815c513c..a48eace74 100644
--- a/tools/mesh/cfgcli.c
+++ b/tools/mesh/cfgcli.c
@@ -1291,7 +1291,7 @@ static void cmd_bind(uint32_t opcode, int argc, char *argv[])
 
 	if (!remote_has_composition(target)) {
 		bt_shell_printf("Node composition is unknown\n");
-		bt_shell_printf("Call \"get-composition\" first\n");
+		bt_shell_printf("Call \"composition-get\" first\n");
 		return bt_shell_noninteractive_quit(EXIT_FAILURE);
 	}
 
@@ -1493,7 +1493,7 @@ static void cmd_pub_set(int argc, char *argv[])
 
 	if (!remote_has_composition(target)) {
 		bt_shell_printf("Node composition is unknown\n");
-		bt_shell_printf("Call \"get-composition\" first\n");
+		bt_shell_printf("Call \"composition-get\" first\n");
 		return bt_shell_noninteractive_quit(EXIT_FAILURE);
 	}
 
@@ -1593,7 +1593,7 @@ static void subscription_cmd(int argc, char *argv[], uint32_t opcode)
 
 	if (!remote_has_composition(target)) {
 		bt_shell_printf("Node composition is unknown\n");
-		bt_shell_printf("Call \"get-composition\" first\n");
+		bt_shell_printf("Call \"composition-get\" first\n");
 		return bt_shell_noninteractive_quit(EXIT_FAILURE);
 	}
 
-- 
2.31.1




[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