summaryrefslogtreecommitdiffstats
path: root/commands/dfu.c
diff options
context:
space:
mode:
authorJean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>2012-01-15 11:00:17 +0100
committerSascha Hauer <s.hauer@pengutronix.de>2012-02-14 15:01:52 +0100
commit9f5c1f2a99c5d417a1d332771c4dc7afb92bc50e (patch)
tree3075adad5c4c2252913becc19f370210c893a31f /commands/dfu.c
parent4cea8b94e53b3c48dc6632a6a33bd0c878413168 (diff)
downloadbarebox-9f5c1f2a99c5d417a1d332771c4dc7afb92bc50e.tar.gz
barebox-9f5c1f2a99c5d417a1d332771c4dc7afb92bc50e.tar.xz
dfu: add description how to specify the "description" to the long help
Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
Diffstat (limited to 'commands/dfu.c')
-rw-r--r--commands/dfu.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/commands/dfu.c b/commands/dfu.c
index 385fd89d41..7f2dfedfde 100644
--- a/commands/dfu.c
+++ b/commands/dfu.c
@@ -169,6 +169,10 @@ BAREBOX_CMD_HELP_OPT ("-m <str>", "Manufacturer string (barebox)\n")
BAREBOX_CMD_HELP_OPT ("-p <str>", "product string (" CONFIG_BOARDINFO ")\n")
BAREBOX_CMD_HELP_OPT ("-V <id>", "vendor id\n")
BAREBOX_CMD_HELP_OPT ("-P <id>", "product id\n")
+BAREBOX_CMD_HELP_OPT ("<description>",
+ "device1(name1)[sr],device2(name2)[sr]\n"
+ "'s' means 'safe mode' (download the complete image before flashing) and\n"
+ "'r' that readback of the firmware is allowed.\n")
BAREBOX_CMD_HELP_END
/**