diff mbox series

Add description of the fw_setenv script syntax

Message ID YX1+sWjABRldh1ck@q1
State Changes Requested
Headers show
Series Add description of the fw_setenv script syntax | expand

Commit Message

Domenico Andreoli Oct. 30, 2021, 5:19 p.m. UTC
Signed-off-by: Domenico Andreoli <domenico.andreoli@linux.com>

---
 src/fw_printenv.c |   14 ++++++++++++++
 1 file changed, 14 insertions(+)

To view this discussion on the web visit https://groups.google.com/d/msgid/swupdate/YX1%2BsWjABRldh1ck%40q1.
diff mbox series

Patch

Index: b/src/fw_printenv.c
===================================================================
--- a/src/fw_printenv.c
+++ b/src/fw_printenv.c
@@ -50,6 +50,20 @@  static void usage(char *program, bool se
 	else
 		fprintf(stdout,
 		" -s, --script <filename>          : read variables to be set from a script\n"
+		"\n"
+		"Script Syntax:\n"
+		" key=value\n"
+		" lines starting with '#' are treated as comment\n"
+		"\n"
+		"Script Example:\n"
+		" netdev=eth0\n"
+		" kernel_addr=400000\n"
+		" foo=empty empty empty    empty empty empty\n"
+		" bar\n"
+		"\n"
 		);
 }
 	

-- 
You received this message because you are subscribed to the Google Groups "swupdate" group.
To unsubscribe from this group and stop receiving emails from it, send an email to swupdate+unsubscribe@googlegroups.com.