diff mbox series

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

Message ID 20220106192632.28915-1-inga.stotland@intel.com
State Superseded
Headers show
Series [BlueZ,v2] tools/mesh-cfgclient: Fix config menu help message | expand

Commit Message

Inga Stotland Jan. 6, 2022, 7:26 p.m. UTC
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 mbox series

Patch

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);
 	}