]> git.kernelconcepts.de Git - karo-tx-uboot.git/commit
tools/env: allow option "-n" for fw_printenv
authorDaniel Hobi <daniel.hobi@schmid-telecom.ch>
Wed, 15 Sep 2010 17:46:26 +0000 (19:46 +0200)
committerWolfgang Denk <wd@denx.de>
Sat, 18 Sep 2010 21:56:02 +0000 (23:56 +0200)
commit122bc08845c25367d23e3d7a74c29b7d1ac07234
tree8b31c7f8e5b6d702779829b2cc9645b4501b2228
parentc54b5923dad53af7737c8c7d21259f11b674f986
tools/env: allow option "-n" for fw_printenv

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@schmid-telecom.ch>
tools/env/fw_env_main.c