From 9761d7b1e4daeab727ab9a20d2ecedc6dfd5325c Mon Sep 17 00:00:00 2001 From: Inga Stotland Date: Thu, 6 Jan 2022 11:26:32 -0800 Subject: [PATCH] tools/mesh-cfgclient: Fix config menu help message 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.47.3