sg_scan -VERSION (return code: 0)
Version string: 4.12 20160121
sg_scan --help (return code: 1)
Unrecognized option: -help
Usage: sg_scan [-a] [-i] [-n] [-v] [-V] [-w] [-x] [DEVICE]*
where:
-a do alpha scan (ie sga, sgb, sgc)
-i do SCSI INQUIRY, output results
-n do numeric scan (ie sg0, sg1...) [default]
-v increase verbosity
-V output version string then exit
-w force open with read/write flag
-x extra information output about queuing
DEVICE name of device