[PATCH] cmd: env: select: Add output for available evironment targets
Christoph Niedermaier
cniedermaier at dh-electronics.com
Thu Mar 20 19:05:05 CET 2025
From: Marek Vasut <marex at denx.de>
Sent: Thursday, March 20, 2025 12:56 PM
> On 3/20/25 11:32 AM, Christoph Niedermaier wrote:
>> If "env select" is called without a target parameter the result is
>> "Select Environment on <NULL>: driver not found".
>
> Why is this not the correct output ?
I think it would be better to print an usage message here.
>> Improve the output
>> by showing a list of available evironment targets, where the active
>> target is marked with an asterisk.
>
> If the goal is to add support for listing available env options for 'env
> select' , then better modify cmd/nvedit.c do_env_select() and implement
> some 'env select -l' .
I could do this in v2.
Regards
Christoph
More information about the U-Boot
mailing list