[U-Boot] [PATCH 1/2] tools/env: allow option "-n" for fw_printenv

Wolfgang Denk wd at denx.de
Sat Sep 18 23:56:13 CEST 2010


Dear Daniel Hobi,

In message <1284572787-9842-1-git-send-email-daniel.hobi at schmid-telecom.ch> you wrote:
> In commit bd7b26f8 (Tools: set multiple variable with fw_setenv utility),
> the option parsing was changed to getopt_long(3), but option "-n"
> of fw_printenv was not included.
> 
> This leads to an error message "invalid option -- 'n'" on stderr,
> although the output on stdout is correct.
> 
> Signed-off-by: Daniel Hobi <daniel.hobi at schmid-telecom.ch>
> ---
>  tools/env/fw_env_main.c |    7 +++++--
>  1 files changed, 5 insertions(+), 2 deletions(-)

Applied, thanks.

Best regards,

Wolfgang Denk

-- 
DENX Software Engineering GmbH,     MD: Wolfgang Denk & Detlev Zundel
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80 Email: wd at denx.de
It's a small world, but I wouldn't want to paint it.


More information about the U-Boot mailing list