diff options
Diffstat (limited to 'arch/arm/mach-at91/boot_test_cmd.c')
-rw-r--r-- | arch/arm/mach-at91/boot_test_cmd.c | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/arch/arm/mach-at91/boot_test_cmd.c b/arch/arm/mach-at91/boot_test_cmd.c index 5f806665ae..66c598b7ce 100644 --- a/arch/arm/mach-at91/boot_test_cmd.c +++ b/arch/arm/mach-at91/boot_test_cmd.c @@ -84,13 +84,15 @@ err: } BAREBOX_CMD_HELP_START(at91_boot_test) -BAREBOX_CMD_HELP_USAGE("at91_boot_test [-j <jump addr>] [-s <sram>] file\n") -BAREBOX_CMD_HELP_SHORT("upload the binary to sram and jump as will do the romcode\n") +BAREBOX_CMD_HELP_TEXT("Options:") +BAREBOX_CMD_HELP_OPT ("-j ADDR", "jump address") +BAREBOX_CMD_HELP_OPT ("-s SRAM", "SRAM device (default /dev/sram0)") BAREBOX_CMD_HELP_END BAREBOX_CMD_START(at91_boot_test) .cmd = do_at91_boot_test, - .usage = "upload the binary to sram and jump as will do the romcode", + BAREBOX_CMD_DESC("load and execute from SRAM") + BAREBOX_CMD_OPTS("at91_boot_test [-js] FILE") BAREBOX_CMD_GROUP(CMD_GRP_BOOT) BAREBOX_CMD_HELP(cmd_at91_boot_test_help) BAREBOX_CMD_END |