tools/mesh-cfgclient: Fix config menu help message
authorInga Stotland <inga.stotland@intel.com>
Thu, 6 Jan 2022 19:26:32 +0000 (11:26 -0800)
committerAyush Garg <ayush.garg@samsung.com>
Mon, 15 May 2023 09:25:53 +0000 (14:55 +0530)
An info message suggesting to request a remote node composition
should reference the correct menu command: "composition-get".

Signed-off-by: Manika Shrivastava <manika.sh@samsung.com>
Signed-off-by: Ayush Garg <ayush.garg@samsung.com>
tools/mesh/cfgcli.c

index f815c51..a48eace 100644 (file)
@@ -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);
        }