[U-Boot] cmd: clarification on 'env ask' command execution

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
participants (1)
-
Adarsh Babu Kalepalli