There is no need to repeat the command to clear the console. Remove it's repeat attribute.
Signed-off-by: Sughosh Ganu <sughosh.g...@linaro.org> --- cmd/cls.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cmd/cls.c b/cmd/cls.c index 4bee8a18305..b1e0619334b 100644 --- a/cmd/cls.c +++ b/cmd/cls.c @@ -18,4 +18,4 @@ static int do_video_clear(struct cmd_tbl *cmdtp, int flag, int argc, return CMD_RET_SUCCESS; } -U_BOOT_CMD(cls, 1, 1, do_video_clear, "clear screen", ""); +U_BOOT_CMD(cls, 1, 0, do_video_clear, "clear screen", ""); -- 2.34.1