[U-Boot] [PATCH] fw_env_main: updated help for fw_printenv

Frans Meulenbroeks fransmeulenbroeks at gmail.com
Thu Sep 9 13:30:00 CEST 2010


mention also that you can do
fw_printenv name
and
fw_printenv -n name

Signed-off-by: Frans Meulenbroeks <fransmeulenbroeks at gmail.com>
---
 tools/env/fw_env_main.c |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)

diff --git a/tools/env/fw_env_main.c b/tools/env/fw_env_main.c
index 82116b4..ff2924d 100644
--- a/tools/env/fw_env_main.c
+++ b/tools/env/fw_env_main.c
@@ -60,6 +60,8 @@ void usage(void)
 	fprintf(stderr, "fw_printenv/fw_setenv, "
 		"a command line interface to U-Boot environment\n\n"
 		"usage:\tfw_printenv\n"
+		"\tfw_printenv [variable name]\n"
+		"\tfw_printenv -n [variable name]\n"
 		"\tfw_setenv [variable name] [variable value]\n"
 		"\tfw_setenv -s [ file ]\n"
 		"\tfw_setenv -s - < [ file ]\n\n"
-- 
1.7.0.4



More information about the U-Boot mailing list