]> git.ipfire.org Git - thirdparty/u-boot.git/commitdiff
cmd: cls: do not repeat clearing of console
authorSughosh Ganu <sughosh.ganu@linaro.org>
Wed, 19 Mar 2025 11:20:03 +0000 (16:50 +0530)
committerTom Rini <trini@konsulko.com>
Thu, 24 Apr 2025 16:44:07 +0000 (10:44 -0600)
There is no need to repeat the command to clear the console. Remove
it's repeat attribute.

Signed-off-by: Sughosh Ganu <sughosh.ganu@linaro.org>
cmd/cls.c

index 4bee8a18305c0c3f41012a7262c1ac1bc0567d53..b1e0619334b6aa26f7221a69ed9b499a3cb8c7a4 100644 (file)
--- 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", "");