Dear Grant,

Grant Erickson <[EMAIL PROTECTED]> writes:

> Changed implementation such that fw_printenv returns failure status when one 
> or more specified variables do not exist or when incorrect command syntax is 
> used.
>
> This aids scripting fw_printenv such that the script can key of the return 
> status rather than relying on standard error "scraping".

Thank you, I think this is useful.

>   Tested On:
>     AMCC Kilauea
>
>   Tests Run:
>       [EMAIL PROTECTED] fw_printenv
>       bootdelay=5
>       baudrate=115200
>       ...
>       [EMAIL PROTECTED] echo $?
>       0
>       
>       [EMAIL PROTECTED] fw_printenv -n hostname
>       kilauea
>       [EMAIL PROTECTED] echo $?
>       0
>       
>       [EMAIL PROTECTED] fw_printenv -n hostname ipaddr
>       ## Error: `-n' option requires exactly one argument
>       [EMAIL PROTECTED] echo $?
>       1

But I don't understand what the purpose of the "-n" option is?

Best regards

Markus Klotzbuecher

--
DENX Software Engineering GmbH,     MD: Wolfgang Denk & Detlev Zundel
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
Phone: +49-8142-66989-0 Fax: +49-8142-66989-80  Email: [EMAIL PROTECTED]

-------------------------------------------------------------------------
This SF.net email is sponsored by the 2008 JavaOne(SM) Conference 
Don't miss this year's exciting event. There's still time to save $100. 
Use priority code J8TL2D2. 
http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone
_______________________________________________
U-Boot-Users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/u-boot-users

Reply via email to