diff options
author | Brian Norris <norris@broadcom.com> | 2010-07-19 10:33:16 -0700 |
---|---|---|
committer | Artem Bityutskiy <Artem.Bityutskiy@nokia.com> | 2010-07-21 12:59:57 +0300 |
commit | 880e6c65503a1a969bd00959b1e7a19a31914c61 (patch) | |
tree | 4c68a76158b61d7af61070c33455d199bcc5f4c6 /compr_zlib.c | |
parent | 48ae9d621bc8df3ca54e8e852632f7af77ec5ea0 (diff) |
nanddump: add "forcebinary" flag
Restrict binary dumping so that by default, binary garbage is not
printed directly to a terminal. Output redicted to files or piped to
other commands should not be affected (as judged by "isatty(ofd)").
A new flag "-a" or "--forcebinary" is included so that users can
override this behavior if necessary.
Signed-off-by: Brian Norris <norris@broadcom.com>
Signed-off-by: Artem Bityutskiy <Artem.Bityutskiy@nokia.com>
Diffstat (limited to 'compr_zlib.c')
0 files changed, 0 insertions, 0 deletions