Hi,

'help env' gives  usage for 'ask' option as :

"env ask name [message] [size] - ask for environment variable"

How are the optional parameters [message] and
[size] related to env variable 'name' ??

When I execute 'env' with option 'ask' and do not enter any value for the
environment variable, it is deleted.

---------------------------------------------------------------
=> printenv vendor
vendor=ti
=> env ask vendor
Please enter 'vendor': texasInstruments
=> printenv vendor
vendor=texasInstruments
=> env ask vendor
Please enter 'vendor':
=> printenv vendor
## Error: "vendor" not defined
=>
---------------------------------------------------------------
In this case,is it expected that the environment variable gets deleted??

Regards,
Adarsh
_______________________________________________
U-Boot mailing list
U-Boot@lists.denx.de
https://lists.denx.de/listinfo/u-boot

Reply via email to