[PATCH] cmd: cls: do not repeat clearing of console
Sughosh Ganu
sughosh.ganu at linaro.org
Wed Apr 23 14:32:23 CEST 2025
On Wed, 19 Mar 2025 at 16:50, Sughosh Ganu <sughosh.ganu at linaro.org> wrote:
>
> There is no need to repeat the command to clear the console. Remove
> it's repeat attribute.
>
> Signed-off-by: Sughosh Ganu <sughosh.ganu at linaro.org>
> ---
Can this be merged if there is no objection to the change? Thanks.
-sughosh
> 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
>
More information about the U-Boot
mailing list