diff options
author | Douglas Gilbert <dgilbert@interlog.com> | 2022-08-07 02:22:53 +0000 |
---|---|---|
committer | Douglas Gilbert <dgilbert@interlog.com> | 2022-08-07 02:22:53 +0000 |
commit | 23beedb782b58779546c58a7e9ef18aeccf50485 (patch) | |
tree | 9a98707784d48a4fa055b81f11b8d2135cdcb435 /doc/sg_decode_sense.8 | |
parent | 640f7a7eff809159d9ac4c3ffc3681a6a5c3bede (diff) | |
download | sg3_utils-23beedb782b58779546c58a7e9ef18aeccf50485.tar.gz |
sg_inq+sg_vpd: more JSON work (tpc)
git-svn-id: https://svn.bingwo.ca/repos/sg3_utils/trunk@964 6180dd3e-e324-4e3e-922d-17de1ae2f315
Diffstat (limited to 'doc/sg_decode_sense.8')
-rw-r--r-- | doc/sg_decode_sense.8 | 15 |
1 files changed, 12 insertions, 3 deletions
diff --git a/doc/sg_decode_sense.8 b/doc/sg_decode_sense.8 index 440cb0b5..ea68eb16 100644 --- a/doc/sg_decode_sense.8 +++ b/doc/sg_decode_sense.8 @@ -4,9 +4,10 @@ sg_decode_sense \- decode SCSI sense and related data .SH SYNOPSIS .B sg_decode_sense [\fI\-\-binary=BFN\fR] [\fI\-\-cdb\fR] [\fI\-\-err=ES\fR] [\fI\-\-file=HFN\fR] -[\fI\-\-help\fR] [\fI\-\-hex\fR] [\fI\-\-inhex=HFN\fR] [\fI\-\-nodecode\fR] -[\fI\-\-nospace\fR] [\fI\-\-status=SS\fR] [\fI\-\-verbose\fR] -[\fI\-\-version\fR] [\fI\-\-write=WFN\fR] [H1 H2 H3 ...] +[\fI\-\-help\fR] [\fI\-\-hex\fR] [\fI\-\-inhex=HFN\fR] +[\fI\-\-ignore\-first\fR] [\fI\-\-nodecode\fR] [\fI\-\-nospace\fR] +[\fI\-\-status=SS\fR] [\fI\-\-verbose\fR] [\fI\-\-version\fR] +[\fI\-\-write=WFN\fR] [H1 H2 H3 ...] .SH DESCRIPTION .\" Add any additional description here This utility takes SCSI sense data in binary or as a sequence of ASCII @@ -97,6 +98,14 @@ this option three times (e.g. '\-HHH'). same action as \fI\-\-file=HFN\fR. This option was added for compatibility with other utilities in this package that have a \fI\-\-inhex=\fR option. .TP +\fB\-I\fR, \fB\-\-ignore\-first\fR +many programs that output hex bytes (e.g. 'hexdump \-C') have a running +count (or index) in the first column of each line. This option ignores the +first hexadecimal value on each line. This option has no effect if +\fI\-\-binary=BFN\fR or \fI\-\-nospace\fR are given. Blank lines and any +character from and after "#" on a line are ignored. Useful with the +\fI\-\-file=HFN\fR and \fI\-\-nodecode\fR options. +.TP \fB\-N\fR, \fB\-\-nodecode\fR Do not decode the given data as sense or a cdb. Useful when arbitrary data is given (e.g. when converting hex to binary or vice versa). |