Bug 1601797
| Summary: | sg_turs: improper usage show | |||
|---|---|---|---|---|
| Product: | Red Hat Enterprise Linux 7 | Reporter: | zguo <zguo> | |
| Component: | sg3_utils | Assignee: | Tomáš Bžatek <tbzatek> | |
| Status: | CLOSED ERRATA | QA Contact: | zguo <zguo> | |
| Severity: | unspecified | Docs Contact: | ||
| Priority: | unspecified | |||
| Version: | 7.6 | CC: | rhandlin | |
| Target Milestone: | rc | |||
| Target Release: | --- | |||
| Hardware: | Unspecified | |||
| OS: | Unspecified | |||
| Whiteboard: | ||||
| Fixed In Version: | sg3_utils-1.37-18.el7 | Doc Type: | If docs needed, set a value | |
| Doc Text: | Story Points: | --- | ||
| Clone Of: | ||||
| : | 1683343 (view as bug list) | Environment: | ||
| Last Closed: | 2019-08-06 13:01:06 UTC | Type: | Bug | |
| Regression: | --- | Mount Type: | --- | |
| Documentation: | --- | CRM: | ||
| Verified Versions: | Category: | --- | ||
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | ||
| Cloudforms Team: | --- | Target Upstream Version: | ||
| Embargoed: | ||||
| Bug Depends On: | ||||
| Bug Blocks: | 1683343 | |||
Upstream pull request: https://github.com/hreinecke/sg3_utils/pull/35 Fixed in sg3_utils-1.37-18.el7 Since the problem described in this bug report should be resolved in a recent advisory, it has been closed with a resolution of ERRATA. For information on the advisory, and where to find the updated files, follow the link below. If the solution does not work for you, open a new bug report. https://access.redhat.com/errata/RHBA-2019:2170 |
Description of problem: Version-Release number of selected component (if applicable): sg3_utils-1.37-16.el7.x86_64 How reproducible: Steps to Reproduce: 1. 2. 3. Actual results: 1. The Usage shows 2 times here, 1 time is expected. 2. No option -? in inline help, should have 3. Use --new|-N which is the general format instead of -N|--new [root@rdma-perf-02 ~]$ sg_turs -O -? Usage: sg_turs [-n=NUM] [-p] [-t] [-v] [-V] DEVICE where: -n=NUM number of test_unit_ready commands (def: 1) -p outputs progress indication (percentage) if available -t outputs total duration and commands per second -v increase verbosity -N|--new use new interface -V print version string then exit Performs a SCSI TEST UNIT READY command (or many of them) No DEVICE argument given Usage: sg_turs [-n=NUM] [-p] [-t] [-v] [-V] DEVICE where: -n=NUM number of test_unit_ready commands (def: 1) -p outputs progress indication (percentage) if available -t outputs total duration and commands per second -v increase verbosity -N|--new use new interface -V print version string then exit Performs a SCSI TEST UNIT READY command (or many of them) Expected results: $ sg_turs -O -? Usage: sg_turs [-n=NUM] [-p] [-t] [-v] [-V] DEVICE where: -n=NUM number of test_unit_ready commands (def: 1) -p outputs progress indication (percentage) if available -t outputs total duration and commands per second -v increase verbosity -N|--new use new interface -V print version string then exit -? -? output this usage message Performs a SCSI TEST UNIT READY command (or many of them) Additional info: