Commit 8cacbe69 authored by Rick Cai's avatar Rick Cai Committed by Benjamin Cabé
Browse files

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: default avatarRick Cai <wwhheerree@hotmail.com>
parent 7eddf8d8
Loading
Loading
Loading
Loading
+1 −1
Changes for samples/subsys/shell/shell_module/src/test_module.c: 1 added line, 1 removed line.
Original line number Diff line number Diff line
@@ -42,5 +42,5 @@ static int sub_cmd1_handler(const struct shell *sh, size_t argc, char **argv)
	return 0;
}

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