shell: devmem: Update help string for devmem

Update help string to make it more clear.

Signed-off-by: Andrei Emeltchenko <andrei.emeltchenko@intel.com>
This commit is contained in:
Andrei Emeltchenko 2022-10-06 16:26:47 +03:00 committed by Anas Nashif
commit ab2594e313

View file

@ -239,5 +239,9 @@ SHELL_STATIC_SUBCMD_SET_CREATE(sub_devmem,
SHELL_CMD_REGISTER(devmem, &sub_devmem,
"Read/write physical memory\n"
"devmem address [width [value]]",
"Usage:\n"
"Read memory at address with optional width:\n"
"devmem address [width]\n"
"Write memory at address with mandatory width and value:\n"
"devmem address <width> <value>",
cmd_devmem);