diff mbox series

cmd: cls: do not repeat clearing of console

Message ID 20250319112003.594938-1-sughosh.ganu@linaro.org
State New
Headers show
Series cmd: cls: do not repeat clearing of console | expand

Commit Message

Sughosh Ganu March 19, 2025, 11:20 a.m. UTC
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 | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
diff mbox series

Patch

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", "");