]> www.infradead.org Git - mtd-utils.git/commit
nanddump: add canonical (hex+ascii) flag
authorBrian Norris <norris@broadcom.com>
Mon, 19 Jul 2010 17:33:15 +0000 (10:33 -0700)
committerArtem Bityutskiy <Artem.Bityutskiy@nokia.com>
Wed, 21 Jul 2010 09:59:33 +0000 (12:59 +0300)
commit48ae9d621bc8df3ca54e8e852632f7af77ec5ea0
tree0357a9ed9c67f95f6ca7be0a011893f8ed54f494
parent6ff458433ba15b8a7cb258ce64e64e98982df26e
nanddump: add canonical (hex+ascii) flag

Added the "-c" or "--canonicalprint" flag (modelled off 'hexdump -C')
so that users can choose to print ASCII output next to the prettyprint
output. This is really an extension to the prettyprint option, so the two
options do not conflict if they are both included in the same execution.

Signed-off-by: Brian Norris <norris@broadcom.com>
Signed-off-by: Artem Bityutskiy <Artem.Bityutskiy@nokia.com>
nanddump.c