Skip to content

Commit 8cacbe6

Browse files
wwhheerreekartben
authored andcommitted
samples: subsys: shell: shell_module: Incorrect help message of sub_cmd1
Change sub_cmd1 help message from "help for cmd2" to "help for sub_cmd1". Signed-off-by: Rick Cai <[email protected]>
1 parent 7eddf8d commit 8cacbe6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

samples/subsys/shell/shell_module/src/test_module.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,5 +42,5 @@ static int sub_cmd1_handler(const struct shell *sh, size_t argc, char **argv)
4242
return 0;
4343
}
4444

45-
SHELL_SUBCMD_COND_ADD(1, (section_cmd, cmd1), sub_cmd1, NULL, "help for cmd2",
45+
SHELL_SUBCMD_COND_ADD(1, (section_cmd, cmd1), sub_cmd1, NULL, "help for sub_cmd1",
4646
sub_cmd1_handler, 1, 0);

0 commit comments

Comments
 (0)