summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorOleksij Rempel <o.rempel@pengutronix.de>2017-05-06 16:02:33 +0200
committerSascha Hauer <s.hauer@pengutronix.de>2017-05-08 13:55:16 +0200
commitdee8d2e0619f58d55553c3da6292e630e452e355 (patch)
treecb062b7beb12262eae8e5ee977c6dc8516e6ea46
parentb1c9f53acd586d7b611d2406018866d680081c62 (diff)
downloadbarebox-dee8d2e0619f58d55553c3da6292e630e452e355.tar.gz
commands: usbgadget: update fastboot help text
cmd_usbgadget can use now the fallback to global.usbgadget.fastboot_function. Update help text to reflect this behavior. Signed-off-by: Oleksij Rempel <o.rempel@pengutronix.de> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
-rw-r--r--commands/usbgadget.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/commands/usbgadget.c b/commands/usbgadget.c
index 02c2c96..ba09f97 100644
--- a/commands/usbgadget.c
+++ b/commands/usbgadget.c
@@ -106,7 +106,8 @@ BAREBOX_CMD_HELP_TEXT("")
BAREBOX_CMD_HELP_TEXT("Options:")
BAREBOX_CMD_HELP_OPT ("-a", "Create CDC ACM function")
BAREBOX_CMD_HELP_OPT ("-s", "Create Generic Serial function")
-BAREBOX_CMD_HELP_OPT ("-A <desc>", "Create Android Fastboot function")
+BAREBOX_CMD_HELP_OPT ("-A [desc]", "Create Android Fastboot function. If 'desc' is not provided,")
+BAREBOX_CMD_HELP_OPT ("", "trying to use 'global.usbgadget.fastboot_function' variable.")
BAREBOX_CMD_HELP_OPT ("-D <desc>", "Create DFU function")
BAREBOX_CMD_HELP_OPT ("-d", "Disable the currently running gadget")
BAREBOX_CMD_HELP_END