mirror of
https://github.com/apache/nuttx-apps.git
synced 2025-10-22 16:09:01 +08:00
Add skip= and count= options to the NSH hexdump command. From Ken Pettit
This commit is contained in:
@@ -245,7 +245,11 @@ static const struct cmdmap_s g_cmdmap[] =
|
||||
|
||||
#if CONFIG_NFILE_DESCRIPTORS > 0
|
||||
#ifndef CONFIG_NSH_DISABLE_HEXDUMP
|
||||
#ifndef CONFIG_NSH_CMDOPT_HEXDUMP
|
||||
{ "hexdump", cmd_hexdump, 2, 2, "<file or device>" },
|
||||
#else
|
||||
{ "hexdump", cmd_hexdump, 2, 4, "<file or device> [skip=<bytes>] [count=<bytes>]" },
|
||||
#endif
|
||||
#endif
|
||||
#endif
|
||||
|
||||
|
Reference in New Issue
Block a user