summaryrefslogtreecommitdiffstats
path: root/commands/mw.c
diff options
context:
space:
mode:
authorPeter Mamonov <pmamonov@gmail.com>2018-05-23 14:45:55 +0300
committerSascha Hauer <s.hauer@pengutronix.de>2018-05-24 07:41:29 +0200
commita74c7fac6292623107f7ee93056add9368997fb8 (patch)
tree4e2400b79148ceaedcc8c6e2f88d5c7255dcafc2 /commands/mw.c
parent6a8fee6c4eaec4f2575ce59b1b78eafd144633e2 (diff)
downloadbarebox-a74c7fac6292623107f7ee93056add9368997fb8.tar.gz
mw command: add `-x` option description
Signed-off-by: Peter Mamonov <pmamonov@gmail.com> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
Diffstat (limited to 'commands/mw.c')
-rw-r--r--commands/mw.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/commands/mw.c b/commands/mw.c
index bb6a16e..7ff589a 100644
--- a/commands/mw.c
+++ b/commands/mw.c
@@ -107,12 +107,13 @@ BAREBOX_CMD_HELP_OPT ("-w", "word access (16 bit)")
BAREBOX_CMD_HELP_OPT ("-l", "long access (32 bit)")
BAREBOX_CMD_HELP_OPT ("-q", "quad access (64 bit)")
BAREBOX_CMD_HELP_OPT ("-d FILE", "write file (default /dev/mem)")
+BAREBOX_CMD_HELP_OPT ("-x", "swap bytes")
BAREBOX_CMD_HELP_END
BAREBOX_CMD_START(mw)
.cmd = do_mem_mw,
BAREBOX_CMD_DESC("memory write")
- BAREBOX_CMD_OPTS("[-bwld] REGION DATA...")
+ BAREBOX_CMD_OPTS("[-bwldx] REGION DATA...")
BAREBOX_CMD_GROUP(CMD_GRP_MEM)
BAREBOX_CMD_HELP(cmd_mw_help)
BAREBOX_CMD_END