From: Inga Stotland Date: Thu, 6 Jan 2022 19:26:32 +0000 (-0800) Subject: tools/mesh-cfgclient: Fix config menu help message X-Git-Tag: accepted/tizen/unified/20230608.164325~401 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=cefc0bde710e72f02b6796d2352031dd99f97007;p=platform%2Fupstream%2Fbluez.git 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". Signed-off-by: Manika Shrivastava Signed-off-by: Ayush Garg --- diff --git a/tools/mesh/cfgcli.c b/tools/mesh/cfgcli.c index f815c51..a48eace 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); }